Skip to content

Commit

Permalink
fix: wrong vault values yaml format was not configuring right
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaspalma committed Aug 14, 2024
1 parent 76fbc43 commit 784cd22
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 35 deletions.
8 changes: 0 additions & 8 deletions services/vault/vault-dev-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,5 @@ ui:
targetPort: 8200
externalPort: 8200

ha:
enabled: true
raft:
enabled: true

volumes:
- name: vault-secrets-volume

injector:
enabled: "false"
55 changes: 28 additions & 27 deletions services/vault/vault-prod-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,42 @@ server:
- name: tls
mountPath: "/opt/vault/tls"
readOnly: true
dataStorage:
enabled: true
size: 2Gi
storageClass: longhorn-locality-retain
mountPath: "/opt/vault/raft"
accessMode: ReadWriteOnce
ha:
enabled: true
raft:
enabled: true
replicas: 3
setNodeId: true
config: |
ui = true
disable_mlock = true # avoids out of memory errors by blocking swapping of its virtual pages
listener "tcp" {
address = "0.0.0.0:8200"
cluster_address = "0.0.0.0:8201"
tls_disable = "false"
tls_cert_file = "/opt/vault/tls/tls.crt"
tls_key_file = "/opt/vault/tls/tls.key"
tls_client_ca_file = "/opt/vault/tls/ca.crt" # certificate of the CA root
}

storage "raft" {
path = "/opt/vault/raft"
}

ui:
enabled: true
serviceType: "LoadBalancer"
targetPort: 8200
externalPort: 8200

dataStorage:
enabled: true
size: 2Gi
storageClass: longhorn-locality-retain
mountPath: "/opt/vault/raft"
accessMode: ReadWriteOnce

ha:
enabled: true
config: |
ui = true
disable_mlock = true # avoids out of memory errors by blocking swapping of its virtual pages
listener "tcp" {
address = "0.0.0.0:8200"
cluster_address = "0.0.0.0:8201"
tls_disable = false
tls_cert_file = "/opt/vault/tls/tls.crt"
tls_key_file = "/opt/vault/tls/tls.key"
tls_client_ca_file = "/opt/vault/tls/ca.crt" # certificate of the CA root
}
storage "raft" {
path = "/opt/vault/raft"
}
raft:
enabled: true
replicas: 3

injector:
enabled: "false"

0 comments on commit 784cd22

Please sign in to comment.