add sops
This commit is contained in:
parent
d767663f0d
commit
43c7d4b754
10 changed files with 178 additions and 32 deletions
52
argocd/values.yaml
Normal file
52
argocd/values.yaml
Normal file
|
@ -0,0 +1,52 @@
|
|||
---
|
||||
global:
|
||||
domain: aaron-argo.services.yolokube.de
|
||||
configs:
|
||||
cm:
|
||||
create: false
|
||||
params:
|
||||
create: true
|
||||
server.insecure: true
|
||||
rbac:
|
||||
create: true
|
||||
policy.csv: |
|
||||
g, ar21-general, role:admin
|
||||
server:
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations:
|
||||
kubernetes.io/tls-acme: "true"
|
||||
tls: true
|
||||
repoServer:
|
||||
volumes:
|
||||
- name: custom-tools
|
||||
emptyDir: {}
|
||||
- name: sops-key
|
||||
secret:
|
||||
secretName: sops-age
|
||||
initContainers:
|
||||
- name: install-ksops
|
||||
image: viaductoss/ksops:v4.3.2
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- echo "Installing KSOPS...";
|
||||
mv ksops /custom-tools/;
|
||||
mv kustomize /custom-tools/;
|
||||
echo "Done.";
|
||||
volumeMounts:
|
||||
- mountPath: /custom-tools
|
||||
name: custom-tools
|
||||
volumeMounts:
|
||||
- mountPath: /usr/local/bin/kustomize
|
||||
name: custom-tools
|
||||
subPath: kustomize
|
||||
- mountPath: /usr/local/bin/ksops
|
||||
name: custom-tools
|
||||
subPath: ksops
|
||||
- mountPath: /.config/sops/age
|
||||
name: sops-key
|
||||
env:
|
||||
- name: XDG_CONFIG_HOME
|
||||
value: /.config
|
||||
- name: SOPS_AGE_KEY_FILE
|
||||
value: /.config/sops/age/keys.txt
|
Loading…
Add table
Add a link
Reference in a new issue