Skip to content

Commit f2d6371

Browse files
Pin Vault to Europa and move to nfs
1 parent 4a84d98 commit f2d6371

File tree

3 files changed

+120
-3
lines changed

3 files changed

+120
-3
lines changed

platform/vault/files/generate-secrets/config.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,21 @@
1818
- key: password
1919
length: 32
2020
special: true
21+
22+
- path: pihole/admin
23+
data:
24+
- key: password
25+
length: 32
26+
special: true
27+
28+
- path: mariadb/admin
29+
data:
30+
- key: password
31+
length: 32
32+
special: true
33+
34+
- path: postgres/admin
35+
data:
36+
- key: password
37+
length: 32
38+
special: true

platform/vault/templates/cr.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ spec:
4040

4141
# Support for pod nodeSelector rules to control which nodes can be chosen to run
4242
# the given pods
43-
# nodeSelector:
44-
# "node-role.kubernetes.io/your_role": "true"
43+
nodeSelector:
44+
"kubernetes.io/hostname": "europa"
4545

4646
# Support for node tolerations that work together with node taints to control
4747
# the pods that can like on a node
@@ -260,7 +260,7 @@ kind: PersistentVolumeClaim
260260
metadata:
261261
name: vault-file
262262
spec:
263-
storageClassName: longhorn
263+
storageClassName: nfs
264264
accessModes:
265265
- ReadWriteOnce
266266
resources:

platform/vault/values.yaml

+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
vault-operator:
2+
# Default values for vault-operator.
3+
# This is a YAML-formatted file.
4+
# Declare variables to be passed into your templates.
5+
6+
replicaCount: 1
7+
8+
image:
9+
bankVaultsRepository: ghcr.io/banzaicloud/bank-vaults
10+
repository: ghcr.io/banzaicloud/vault-operator
11+
# tag: ""
12+
pullPolicy: IfNotPresent
13+
imagePullSecrets: [] # global.imagePullSecrets is also supported
14+
15+
service:
16+
name: ""
17+
type: ClusterIP
18+
externalPort: 80
19+
internalPort: 8080
20+
annotations: {}
21+
22+
nameOverride: ""
23+
fullnameOverride: ""
24+
25+
crdAnnotations: {}
26+
27+
# The namespace where the operator watches for vault CRD objects, if not defined
28+
# all namespaces are watched
29+
watchNamespace: ""
30+
syncPeriod: "1m"
31+
32+
labels: {}
33+
# team: banzai
34+
35+
podLabels: {}
36+
# team: banzai
37+
38+
podAnnotations: {}
39+
# team: banzai
40+
41+
resources:
42+
limits:
43+
cpu: 100m
44+
memory: 256Mi
45+
requests:
46+
cpu: 100m
47+
memory: 128Mi
48+
49+
affinity: {}
50+
51+
# # if tolerations are used inside cluster, define tolerations as well
52+
tolerations: []
53+
# - effect: NoSchedule
54+
# key: node_role
55+
# operator: Equal
56+
# value: custom_worker
57+
58+
# # If needed, define nodeSelector for vault operator
59+
nodeSelector:
60+
"kubernetes.io/hostname": "europa"
61+
62+
podSecurityContext: {}
63+
64+
securityContext: {}
65+
66+
## Assign a PriorityClassName to pods if set
67+
priorityClassName: ""
68+
69+
terminationGracePeriodSeconds: 10
70+
71+
livenessProbe:
72+
initialDelaySeconds: 60
73+
periodSeconds: 10
74+
successThreshold: 1
75+
timeoutSeconds: 1
76+
readinessProbe:
77+
periodSeconds: 10
78+
successThreshold: 1
79+
timeoutSeconds: 1
80+
81+
psp:
82+
enabled: false
83+
vaultSA: "vault"
84+
85+
serviceAccount:
86+
# Specifies whether a service account should be created
87+
create: true
88+
# Annotations to add to the service account
89+
annotations: {}
90+
# The name of the service account to use.
91+
# If not set and create is true, a name is generated using the fullname template
92+
name: ""
93+
monitoring:
94+
# Create a Vault Operator ServiceMonitor object
95+
serviceMonitor:
96+
enabled: false
97+
additionalLabels: {}
98+
metricRelabelings: []
99+
relabelings: []

0 commit comments

Comments
 (0)