From b3d961ce9ebf98f3d7bfae3790fc4335c094d8ff Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Fri, 27 Oct 2023 18:46:53 +0200 Subject: [PATCH] Argo kustomization for future and clusterissuer for letsencrypt Signed-off-by: Martyn Ranyard --- apps-helm/letsencrypt-ca/clusterissuer.yaml | 15 +++++++++++++++ apps-kustomized/argocd/kustomization.yaml | 5 +++++ everything-app/app-argocd.yaml | 4 ++-- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 apps-helm/letsencrypt-ca/clusterissuer.yaml create mode 100644 apps-kustomized/argocd/kustomization.yaml diff --git a/apps-helm/letsencrypt-ca/clusterissuer.yaml b/apps-helm/letsencrypt-ca/clusterissuer.yaml new file mode 100644 index 0000000..4433f4c --- /dev/null +++ b/apps-helm/letsencrypt-ca/clusterissuer.yaml @@ -0,0 +1,15 @@ +apiVersion: cert-manager.io/v1 +kind: ClusterIssuer +metadata: + name: letsencrypt +spec: + acme: + email: m@rtyn.berlin + preferredChain: "" + privateKeySecretRef: + name: letsencrypt-key + server: https://acme-v02.api.letsencrypt.org/directory + solvers: + - http01: + ingress: + class: nginx diff --git a/apps-kustomized/argocd/kustomization.yaml b/apps-kustomized/argocd/kustomization.yaml new file mode 100644 index 0000000..678460e --- /dev/null +++ b/apps-kustomized/argocd/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: +- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/cluster-install diff --git a/everything-app/app-argocd.yaml b/everything-app/app-argocd.yaml index db8637a..7c0bd7c 100644 --- a/everything-app/app-argocd.yaml +++ b/everything-app/app-argocd.yaml @@ -9,8 +9,8 @@ spec: server: https://kubernetes.default.svc project: infra source: - path: manifests/cluster-install - repoURL: https://github.com/argoproj/argo-cd + path: apps-kustomized/argocd + repoURL: https://git.martyn.berlin/martyn/infra4talos targetRevision: HEAD syncPolicy: automated: