Skip to content

Commit e711a52

Browse files
authored
fix: drop tokman deployment (#589)
* Drop deployment of tokman * Mount GitHub App private key * Adjust the variables in templates <!-- TODO list --> TODO: - [x] Updated `extra-vars.yml` in Bitwarden <!-- notes for reviewers --> <!-- Links to other issues or pull requests, for cross-repository links use: ‹namespace›/‹repository›#‹ID of issue› (‹namespace›/‹repository›!‹ID of PR› respectively) --> Fixes packit/tokman#72
2 parents 1f79bca + 5b14ddd commit e711a52

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

openshift/packit-service.yml.j2

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ spec:
3636
- name: fluentd-config
3737
configMap: {name: fluentd-config}
3838
{% endif %}
39+
- name: gh-secrets
40+
secret:
41+
secretName: github-app-private-key
3942
containers:
4043
- name: packit-service
4144
image: packit-service:{{ deployment }}
@@ -73,6 +76,9 @@ spec:
7376
- name: packit-config
7477
mountPath: /home/packit/.config
7578
readOnly: true
79+
- name: gh-secrets
80+
mountPath: /gh-secrets
81+
readOnly: true
7682
command:
7783
- /usr/bin/run_httpd.sh
7884
resources:

openshift/packit-worker.yml.j2

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ spec:
7373
- name: fluentd-config
7474
configMap: {name: fluentd-config}
7575
{% endif %}
76+
- name: gh-secrets
77+
secret:
78+
secretName: github-app-private-key
7679
containers:
7780
- name: packit-worker
7881
image: packit-worker:{{ deployment }}
@@ -140,6 +143,9 @@ spec:
140143
- name: packit-worker-repository-cache
141144
mountPath: /repository-cache
142145
{% endif %}
146+
- name: gh-secrets
147+
mountPath: /gh-secrets
148+
readOnly: true
143149
command:
144150
- "/usr/bin/run_worker.sh"
145151
resources:

vars/packit/prod_template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ api_key: ""
2626
# Check that the current vars file us up to date with the template
2727
# check_vars_template_diff: true
2828

29-
# with_tokman: true
29+
# with_tokman: false
3030

3131
# if you want to deploy fedmsg, please make sure to
3232
# edit the queue name in secrets/*/fedora.toml

vars/packit/stg_template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ api_key: ""
2424
# Check that the current vars file us up to date with the template
2525
# check_vars_template_diff: true
2626

27-
# with_tokman: true
27+
# with_tokman: false
2828

2929
# if you want to deploy fedmsg, please make sure to
3030
# edit the queue name in secrets/*/fedora.toml

0 commit comments

Comments
 (0)