summaryrefslogtreecommitdiff
path: root/playbooks.d/k3s-master/share
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-07-27 11:40:40 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-07-27 11:40:40 +0200
commit86eb875d41b5da0c6cdadf15782327fd409e9081 (patch)
treea64bffeee6c0d83799b7e59da7c96ed7208b0767 /playbooks.d/k3s-master/share
parentbb91e81a14b2a55022a4d9768ccf60673be4c3eb (diff)
Try out the Helm chart for ArgoCD
Diffstat (limited to 'playbooks.d/k3s-master/share')
-rw-r--r--playbooks.d/k3s-master/share/argocd/argocd-cm.yaml12
-rw-r--r--playbooks.d/k3s-master/share/argocd/ingress.yaml31
-rw-r--r--playbooks.d/k3s-master/share/argocd/values.yaml17
3 files changed, 17 insertions, 43 deletions
diff --git a/playbooks.d/k3s-master/share/argocd/argocd-cm.yaml b/playbooks.d/k3s-master/share/argocd/argocd-cm.yaml
deleted file mode 100644
index cdaaadc..0000000
--- a/playbooks.d/k3s-master/share/argocd/argocd-cm.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: argocd-cm
- namespace: argocd
- labels:
- app.kubernetes.io/part-of: argocd
-data:
- url: argo.tyil.nl
- users.anonymous.enabled: true
-...
diff --git a/playbooks.d/k3s-master/share/argocd/ingress.yaml b/playbooks.d/k3s-master/share/argocd/ingress.yaml
deleted file mode 100644
index d3553e7..0000000
--- a/playbooks.d/k3s-master/share/argocd/ingress.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-apiVersion: networking.k8s.io/v1
-kind: Ingress
-metadata:
- name: argocd-server-ingress
- namespace: argocd
- annotations:
- cert-manager.io/cluster-issuer: letsencrypt-prod
- kubernetes.io/ingress.class: nginx
- kubernetes.io/tls-acme: "true"
- nginx.ingress.kubernetes.io/ssl-passthrough: "true"
- # If you encounter a redirect loop or are getting a 307 response code
- # then you need to force the nginx ingress to connect to the backend using HTTPS.
- nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
-spec:
- rules:
- - host: argo.tyil.nl
- http:
- paths:
- - path: /
- pathType: Prefix
- backend:
- service:
- name: argocd-server
- port:
- name: https
- tls:
- - hosts:
- - argo.tyil.nl
- secretName: argocd-secret # do not change, this is provided by Argo CD
-...
diff --git a/playbooks.d/k3s-master/share/argocd/values.yaml b/playbooks.d/k3s-master/share/argocd/values.yaml
new file mode 100644
index 0000000..1acf734
--- /dev/null
+++ b/playbooks.d/k3s-master/share/argocd/values.yaml
@@ -0,0 +1,17 @@
+---
+server:
+ ingress:
+ enabled: true
+ ingressClassName: nginx
+ hosts:
+ - argocd.tyil.nl
+repoServer:
+ volumeMounts:
+ - name: helm-secret-values
+ mountPath: /opt/helm-secret-values
+ volumes:
+ - name: helm-secret-values
+ secret:
+ secretName: helm-secret-values
+ optional: true
+...