Skip to content
Snippets Groups Projects
Verified Commit a30a13ba authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(ingress-nginx): Force ndots in ingress controller

It seems that DNS lookups fail for whatever reasons since the update to
Kubernets 1.22 and result in inaccessiblity of some services. It seems
to be related to ndots, so let's fix it like this?
parent 3df1afbc
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ metadata: ...@@ -4,6 +4,7 @@ metadata:
name: goharbor name: goharbor
labels: labels:
name: goharbor name: goharbor
pod-security.kubernetes.io/audit: restricted
--- ---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
......
...@@ -4,6 +4,7 @@ metadata: ...@@ -4,6 +4,7 @@ metadata:
name: matrix name: matrix
labels: labels:
name: matrix name: matrix
pod-security.kubernetes.io/audit: restricted
--- ---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
......
...@@ -46,6 +46,10 @@ data: ...@@ -46,6 +46,10 @@ data:
hsts-include-subdomains: false hsts-include-subdomains: false
enable-brotli: "true" enable-brotli: "true"
use-http2: "true" use-http2: "true"
dnsConfig:
options:
- name: ndots
value: "1"
replicaCount: 2 replicaCount: 2
minAvailable: 1 minAvailable: 1
resources: resources:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment