1
0
Fork 0

feat: add vault

This commit is contained in:
Vojtěch Mareš 2022-09-03 13:57:08 +02:00
parent e2d1468db7
commit 152d191adc
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
3 changed files with 71 additions and 0 deletions

20
_argocd/apps/vault.yaml Normal file
View file

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: vault
namespace: argocd
spec:
destination:
namespace: vault
server: https://kubernetes.default.svc
project: default
source:
path: apps/vault
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
targetRevision: HEAD
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

15
apps/vault/Chart.yaml Normal file
View file

@ -0,0 +1,15 @@
apiVersion: v2
name: vault
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
appVersion: "1.0"
dependencies:
- name: vault
version: 0.21.0
repository: https://helm.releases.hashicorp.com
# Consul is storage for Vault (required in HA mode)
- name: consul
version: 0.21.0
repository: https://helm.releases.hashicorp.com

36
apps/vault/values.yaml Normal file
View file

@ -0,0 +1,36 @@
vault:
global:
tlsDisable: true
injector:
enabled: false
server:
ingress:
enabled: true
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
pathType: Prefix
tls:
- secretName: vault-tls
hosts:
- vault.cloud.mareshq.com
hosts:
- host: vault.cloud.mareshq.com
paths:
- /
dataStorage:
enabled: true
size: 1Gi
auditStorage:
enabled: true
size: 1Gi
ha:
enabled: true
replicas: 3
raft:
enabled: true