From 3dc3dbbaba42d74cb62ce7326aad57e12e161873 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Thu, 27 Feb 2025 05:28:32 -0600 Subject: [PATCH] update --- dmz/traefik/templates/config.yaml | 21 +++++---------------- dmz/vault/Chart.yaml | 12 ++++++++++++ dmz/vault/values.yaml | 13 +++++++++++++ infra/argocd/templates/vault.yaml | 28 ++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+), 16 deletions(-) create mode 100644 dmz/vault/Chart.yaml create mode 100644 dmz/vault/values.yaml diff --git a/dmz/traefik/templates/config.yaml b/dmz/traefik/templates/config.yaml index a6f70b5..d09b955 100644 --- a/dmz/traefik/templates/config.yaml +++ b/dmz/traefik/templates/config.yaml @@ -10,19 +10,8 @@ data: service: service0 rule: Host(`test.durp.info`) ---- - -apiVersion: traefik.io/v1alpha1 -kind: IngressRoute -metadata: - name: test-ingress -spec: - entryPoints: - - websecure - routes: - - match: Host(`test.durp.info`) && PathPrefix(`/`) - kind: Rule - services: - - name: service0 - tls: - secretName: test + services: + service0: + loadBalancer: + servers: + - url: https://google.com diff --git a/dmz/vault/Chart.yaml b/dmz/vault/Chart.yaml new file mode 100644 index 0000000..e52029e --- /dev/null +++ b/dmz/vault/Chart.yaml @@ -0,0 +1,12 @@ +apiVersion: v2 +name: vault +description: A Helm chart for Kubernetes +type: application +version: 0.0.1 +appVersion: 0.0.1 + +dependencies: +- name: vault + repository: https://helm.releases.hashicorp.com + version: 0.29.1 + diff --git a/dmz/vault/values.yaml b/dmz/vault/values.yaml new file mode 100644 index 0000000..877d8fe --- /dev/null +++ b/dmz/vault/values.yaml @@ -0,0 +1,13 @@ +vault: + global: + enabled: true + tlsDisable: false + externalVaultAddr: "https://vault.infra.durp.info" + resources: + requests: + memory: 256Mi + cpu: 250m + limits: + memory: 256Mi + cpu: 250m + diff --git a/infra/argocd/templates/vault.yaml b/infra/argocd/templates/vault.yaml index 26fa571..351d06f 100644 --- a/infra/argocd/templates/vault.yaml +++ b/infra/argocd/templates/vault.yaml @@ -23,3 +23,31 @@ spec: kind: MutatingWebhookConfiguration jqPathExpressions: - .webhooks[]?.clientConfig.caBundle + +--- + +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: vault-dmz + namespace: argocd +spec: + project: default + source: + repoURL: https://gitlab.com/developerdurp/homelab.git + targetRevision: main + path: dmz/vault + destination: + namespace: vault + name: dmz + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + ignoreDifferences: + - group: admissionregistration.k8s.io + kind: MutatingWebhookConfiguration + jqPathExpressions: + - .webhooks[]?.clientConfig.caBundle