Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Add private key to deployment #44

Merged
merged 1 commit into from
Jul 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ out/

*.crt
*.pem
id_rsa
3 changes: 2 additions & 1 deletion deploy/overlays/prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ resources:
- ingress.yaml

patchesStrategicMerge:
- patches/deployment-ca-cert.yaml
- patches/deployment-cert-keys.yaml

secretGenerator:
- name: cert-keys
files:
- ca.crt
- id_rsa

images:
- name: mattermost/matterbuild
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ spec:
- name: cert-keys
mountPath: /app/ssl/ca.crt
readOnly: true
- name: cert-keys
mountPath: /app/ssh/id_rsa
readOnly: true
volumes:
- name: cert-keys
secret:
Expand Down