diff --git a/charts/dragonfly-operator/templates/deployment.yaml b/charts/dragonfly-operator/templates/deployment.yaml index 0c24699..ec600c2 100644 --- a/charts/dragonfly-operator/templates/deployment.yaml +++ b/charts/dragonfly-operator/templates/deployment.yaml @@ -36,8 +36,8 @@ spec: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: - args: - - --secure-listen-address=0.0.0.0:8443 - - --upstream=http://127.0.0.1:8080/ + - --secure-listen-address=[::]:8443 + - --upstream=http://[::1]:8080/ - --logtostderr=true - --v=0 image: "{{ .Values.rbacProxy.image.repository }}:{{ .Values.rbacProxy.image.tag }}" @@ -55,7 +55,7 @@ spec: - name: manager args: - --health-probe-bind-address=:8081 - - --metrics-bind-address=127.0.0.1:8080 + - --metrics-bind-address=[::1]:8080 - --leader-elect command: - /manager diff --git a/internal/resources/const.go b/internal/resources/const.go index 79b5c11..8f9d10f 100644 --- a/internal/resources/const.go +++ b/internal/resources/const.go @@ -69,6 +69,8 @@ const ( var DefaultDragonflyArgs = []string{ "--alsologtostderr", "--primary_port_http_enabled=false", + "--bind=::", + "--admin_bind=::", fmt.Sprintf("--admin_port=%d", DragonflyAdminPort), "--admin_nopass", }