argo: deploy argo with helm
This commit is contained in:
parent
f33a56c094
commit
da45293365
2 changed files with 51 additions and 24 deletions
|
@ -1,24 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/tls-acme: "true"
|
|
||||||
name: argocd-ingress
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
rules:
|
|
||||||
- host: "argo.services.yolokube.de"
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: Prefix
|
|
||||||
path: "/"
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: argocd-server
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- argo.services.yolokube.de
|
|
||||||
secretName: argocd-tls-key
|
|
51
argo/values.yaml
Normal file
51
argo/values.yaml
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
global:
|
||||||
|
domain: argo.services.yolokube.de
|
||||||
|
configs:
|
||||||
|
cm:
|
||||||
|
create: false
|
||||||
|
params:
|
||||||
|
create: true
|
||||||
|
server.insecure: true
|
||||||
|
rbac:
|
||||||
|
create: true
|
||||||
|
policy.csv: |
|
||||||
|
g, yolokube-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…
Reference in a new issue