diff --git a/argocd/templates/vault.yaml b/argocd/templates/vault.yaml new file mode 100644 index 0000000..403f601 --- /dev/null +++ b/argocd/templates/vault.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: vault + namespace: argocd +spec: + project: default + source: + repoURL: https://gitlab.com/developerdurp/homelab.git + targetRevision: main + path: vault + destination: + namespace: vault + name: in-cluster + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + diff --git a/vault/Chart.yaml b/vault/Chart.yaml new file mode 100644 index 0000000..745b9fe --- /dev/null +++ b/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://gitlab.com/api/v4/projects/45025483/packages/helm/stable + version: 0.24.1 + diff --git a/vault/values.yaml b/vault/values.yaml new file mode 100644 index 0000000..a34eca5 --- /dev/null +++ b/vault/values.yaml @@ -0,0 +1,43 @@ +vault: + + global: + replicas: 1 + port: 8080 + + # image sets the repo and tag of the vault-k8s image to use for the injector. + image: + repository: "hashicorp/vault-k8s" + tag: "1.2.1" + pullPolicy: Always + + agentImage: + repository: "hashicorp/vault" + tag: "1.13.1" + + server: + enabled: "-" + image: + repository: "hashicorp/vault" + tag: "1.13.1" + pullPolicy: Always + + resources: {} + # resources: + # requests: + # memory: 256Mi + # cpu: 250m + # limits: + # memory: 256Mi + # cpu: 250m + + dataStorage: + enabled: true + size: 10Gi + storageClass: longhorn + accessMode: ReadWriteOnce + + ui: + enabled: true + externalPort: 8200 + targetPort: 8200 +