Skip to content

Commit

Permalink
fix(apps/prod/publisher): fix publisher config (#1290)
Browse files Browse the repository at this point in the history
Signed-off-by: wuhuizuo <[email protected]>

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo authored Oct 16, 2024
1 parent 1aebdb1 commit 852c06c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 16 deletions.
19 changes: 11 additions & 8 deletions apps/prod/publisher/release-prod-mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,22 @@ spec:
# Additional volumes on the output Deployment definition.
image:
tag: v2024.10.14-2-g00c2f08
args:
- --config=/etc/config/config.yaml
volumes:
- name: config
secret:
servers:
publisher:
config:
secretName: publisher-config-prod
secretKey: service.yaml
debug: true
worker:
config:
secretName: publisher-config-prod
secretKey: worker.yaml
debug: true
volumes:
- name: tiup-credentials
secret:
secretName: tiup-credentials-prod
volumeMounts:
- name: config
mountPath: /config
readOnly: true
- name: tiup-credentials
subPath: private.json
mountPath: /root/.tiup/keys/private.json
Expand Down
19 changes: 11 additions & 8 deletions apps/prod/publisher/release-staging-mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,22 @@ spec:
# Additional volumes on the output Deployment definition.
image:
tag: v2024.10.14-2-g00c2f08
args:
- --config=/etc/config/config.yaml
volumes:
- name: config
secret:
servers:
publisher:
config:
secretName: publisher-config-staging
secretKey: service.yaml
debug: true
worker:
config:
secretName: publisher-config-staging
secretKey: worker.yaml
debug: true
volumes:
- name: tiup-credentials
secret:
secretName: tiup-credentials-staging
volumeMounts:
- name: config
mountPath: /config
readOnly: true
- name: tiup-credentials
subPath: private.json
mountPath: /root/.tiup/keys/private.json
Expand Down

0 comments on commit 852c06c

Please sign in to comment.