feat: add vault
This commit is contained in:
parent
e2d1468db7
commit
152d191adc
3 changed files with 71 additions and 0 deletions
20
_argocd/apps/vault.yaml
Normal file
20
_argocd/apps/vault.yaml
Normal 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
15
apps/vault/Chart.yaml
Normal 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
36
apps/vault/values.yaml
Normal 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
|
||||
Reference in a new issue