Skip to content

Commit

Permalink
Fix for external DNS resolution (#83)
Browse files Browse the repository at this point in the history
Certain setups seem to have trouble with the default ndots:5 dns config. Setting this value to 1 should resolve this.
  • Loading branch information
PseudoResonance committed Mar 30, 2024
1 parent a343da8 commit 0062343
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/vaultwarden/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ maintainers:
- name: guerzon
email: [email protected]
url: https://github.com/guerzon
version: 0.22.6
version: 0.22.7
kubeVersion: ">=1.12.0-0"
4 changes: 4 additions & 0 deletions charts/vaultwarden/templates/_podSpec.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{{- define "vaultwarden.podSpec" }}
{{- with .Values.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 2 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/vaultwarden/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ securityContext: {}
# drop:
# - ALL

## @param dnsConfig Pod DNS options
## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}


## @section Reliability configuration
##
Expand Down

0 comments on commit 0062343

Please sign in to comment.