mirror of
https://github.com/outbackdingo/vaultwarden.git
synced 2026-01-27 10:20:51 +00:00
feat: make enableServiceLinks configurable (#118)
Signed-off-by: Lester Guerzon <guerzon@proton.me>
This commit is contained in:
@@ -13,5 +13,5 @@ maintainers:
|
||||
- name: guerzon
|
||||
email: guerzon@proton.me
|
||||
url: https://github.com/guerzon
|
||||
version: 0.27.0
|
||||
version: 0.28.0
|
||||
kubeVersion: ">=1.12.0-0"
|
||||
|
||||
@@ -338,6 +338,7 @@ helm -n $NAMESPACE uninstall $RELEASE_NAME
|
||||
| `podSecurityContext` | Pod security options | `{}` |
|
||||
| `securityContext` | Default security options to run vault as read only container without privilege escalation | `{}` |
|
||||
| `dnsConfig` | Pod DNS options | `{}` |
|
||||
| `enableServiceLinks` | Enable service links, Kubernetes default is true | `true` |
|
||||
|
||||
### Reliability configuration
|
||||
|
||||
|
||||
@@ -24,3 +24,5 @@ duo:
|
||||
iKey: "999888"
|
||||
sKey:
|
||||
value: "HELLO"
|
||||
|
||||
enableServiceLinks: false
|
||||
|
||||
@@ -23,6 +23,9 @@ securityContext:
|
||||
initContainers:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- if not .Values.enableServiceLinks }}
|
||||
enableServiceLinks: false
|
||||
{{- end }}
|
||||
containers:
|
||||
- image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
|
||||
@@ -124,6 +124,11 @@ securityContext:
|
||||
## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
|
||||
dnsConfig: {}
|
||||
|
||||
## @param enableServiceLinks Enable service links, Kubernetes default is true
|
||||
## Ref: https://kubernetes.io/docs/tutorials/services/connect-applications-service/#accessing-the-service
|
||||
##
|
||||
enableServiceLinks: true
|
||||
|
||||
## @section Reliability configuration
|
||||
##
|
||||
|
||||
|
||||
Reference in New Issue
Block a user