Added support for create.
All checks were successful
Deploy the Helm Chart / build (push) Successful in 10s
All checks were successful
Deploy the Helm Chart / build (push) Successful in 10s
This commit is contained in:
parent
a76ce5ceee
commit
3a4b0a1c73
3 changed files with 13 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ To use this chart as a dependency:
|
||||||
```yaml
|
```yaml
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: ba-custom-hashicorp-vault
|
- name: ba-custom-hashicorp-vault
|
||||||
version: 1.0.5
|
version: 1.0.6
|
||||||
repository: "https://helm.bridgemanaccessible.ca/"
|
repository: "https://helm.bridgemanaccessible.ca/"
|
||||||
alias: passVault
|
alias: passVault
|
||||||
condition: passVault.enabled
|
condition: passVault.enabled
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ metadata:
|
||||||
app: {{ include "vault.fullname" . }}
|
app: {{ include "vault.fullname" . }}
|
||||||
spec:
|
spec:
|
||||||
serviceName: {{ include "vault.fullname" . }}
|
serviceName: {{ include "vault.fullname" . }}
|
||||||
replicas: 1
|
replicas: {{ .Values.create.replicaCount | default 1 }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ include "vault.fullname" . }}
|
app: {{ include "vault.fullname" . }}
|
||||||
|
|
@ -32,6 +32,8 @@ spec:
|
||||||
env:
|
env:
|
||||||
- name: VAULT_ADDR
|
- name: VAULT_ADDR
|
||||||
value: http://0.0.0.0:8200
|
value: http://0.0.0.0:8200
|
||||||
|
- name: POLICY_CAPABILITIES
|
||||||
|
value: {{ .Values.create.policyCapabilities | join "," }}
|
||||||
- name: ROLE_ID_SECRET_NAME
|
- name: ROLE_ID_SECRET_NAME
|
||||||
value: {{ .Values.create.appRole.roleIDSecretName }}
|
value: {{ .Values.create.appRole.roleIDSecretName }}
|
||||||
- name: SECRET_ID_SECRET_NAME
|
- name: SECRET_ID_SECRET_NAME
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,9 @@ create:
|
||||||
# The tag of the image to use
|
# The tag of the image to use
|
||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
|
# The number of replicas of the Hashicorp Vault instance to create
|
||||||
|
#replicaCount: 1
|
||||||
|
|
||||||
# Configurations for the ingress of the created Hashicorp Vault instance
|
# Configurations for the ingress of the created Hashicorp Vault instance
|
||||||
ingress:
|
ingress:
|
||||||
# If an ingress should be created for the created Hashicorp Vault instance
|
# If an ingress should be created for the created Hashicorp Vault instance
|
||||||
|
|
@ -65,6 +68,12 @@ create:
|
||||||
storageClassName: vault-role-vars-rook-cephfs
|
storageClassName: vault-role-vars-rook-cephfs
|
||||||
size: 512Mi
|
size: 512Mi
|
||||||
|
|
||||||
|
# The capabilities of the policy to create for the app
|
||||||
|
policyCapabilities:
|
||||||
|
- read
|
||||||
|
- create
|
||||||
|
- update
|
||||||
|
|
||||||
# Configurations for the AppRole authentication method for the created Vault instance
|
# Configurations for the AppRole authentication method for the created Vault instance
|
||||||
appRole:
|
appRole:
|
||||||
# The name of the environment variable/secret that contains the Role ID for the app
|
# The name of the environment variable/secret that contains the Role ID for the app
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue