mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
ops(k8s): attempt to add sops operator
This commit is contained in:
parent
41ae5de394
commit
49ef4146fc
6 changed files with 60 additions and 12 deletions
25
k8s/system/sops-secrets-operator/application.yaml
Normal file
25
k8s/system/sops-secrets-operator/application.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: sops-secrets-operator
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: system
|
||||
source:
|
||||
repoURL: "https://isindir.github.io/sops-secrets-operator/"
|
||||
targetRevision: 0.18.0
|
||||
chart: sops-secret-operator
|
||||
helm:
|
||||
valuesObject:
|
||||
secretsAsFiles:
|
||||
- mountPath: /etc/sops-age-key-file
|
||||
secretName: sops-age-key-file
|
||||
extraEnv:
|
||||
- name: SOPS_AGE_KEY_FILE
|
||||
value: /etc/sops-age-key-file/sops.key
|
||||
destination:
|
||||
namespace: sops
|
||||
name: in-cluster
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- ServerSideApply=true
|
||||
Loading…
Add table
Add a link
Reference in a new issue