mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 16:00:29 -05:00
add vault
This commit is contained in:
parent
1966f141dc
commit
f5ceac3ec1
3 changed files with 58 additions and 0 deletions
21
infra/argocd/templates/vault.yaml
Normal file
21
infra/argocd/templates/vault.yaml
Normal file
|
|
@ -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: infra/vault
|
||||
destination:
|
||||
namespace: vault
|
||||
name: in-cluster
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
12
infra/vault/Chart.yaml
Normal file
12
infra/vault/Chart.yaml
Normal file
|
|
@ -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
|
||||
|
||||
25
infra/vault/values.yaml
Normal file
25
infra/vault/values.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
vault:
|
||||
server:
|
||||
image:
|
||||
repository: "hashicorp/vault"
|
||||
pullPolicy: Always
|
||||
|
||||
affinity: ""
|
||||
ha:
|
||||
enabled: true
|
||||
replicas: 3
|
||||
raft:
|
||||
enabled: true
|
||||
setNodeId: true
|
||||
config: |
|
||||
cluster_name = "vault-integrated-storage"
|
||||
storage "raft" {
|
||||
path = "/vault/data/"
|
||||
}
|
||||
|
||||
listener "tcp" {
|
||||
address = "[::]:8200"
|
||||
cluster_address = "[::]:8201"
|
||||
tls_disable = "true"
|
||||
}
|
||||
service_registration "kubernetes" {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue