Skip to content

Commit

Permalink
feat(atlantis): mount sops age key as volume
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Dec 27, 2023
1 parent 30be24b commit e33dba4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
name: *name
creationPolicy: Owner
data:
- secretKey: keys.txt
- secretKey: terraform-gworkspace.txt
remoteRef:
key: infra/techtales/terraform-gworkspace
property: age
10 changes: 10 additions & 0 deletions kubernetes/talos-flux/apps/atlantis/atlantis/app/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,13 @@ spec:
readinessProbe:
periodSeconds: 5
initialDelaySeconds: 10

extraVolumes:
- name: terraform-gworkspace
secret:
secretName: terraform-gworkspace

extraVolumeMounts:
- name: terraform-gworkspace
mountPath: /home/atlantis/.config/sops/age
readOnly: true

0 comments on commit e33dba4

Please sign in to comment.