Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from mKeRix/eks-ipv6-fix
Browse files Browse the repository at this point in the history
Fix K8s API server connectivity for IPv6
  • Loading branch information
alex-berger committed Jan 19, 2022
2 parents 6bcca69 + 24ef30b commit 5d5fcc0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
env:
- name: RUST_LOG
value: debug
{{- with .Values.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
Expand All @@ -57,4 +58,4 @@ spec:
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
10 changes: 10 additions & 0 deletions charts/rustrial-aws-eks-iam-auth-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ podSecurityContext:
{}
# fsGroup: 2000

env:
- name: RUST_LOG
value: debug
# In case you are using an IPv6 cluster, you might need to to explicitly set KUBERNETES_SERVICE_HOST
# like shown below to work around a bug in kube-rs.
#
#- name: KUBERNETES_SERVICE_HOST
# value: kubernetes.default.svc


securityContext:
capabilities:
drop:
Expand Down

0 comments on commit 5d5fcc0

Please sign in to comment.