Skip to content

Commit

Permalink
fix: bind on dualstack by default
Browse files Browse the repository at this point in the history
both operator and dragonfly, should not hurt.
  • Loading branch information
cyrinux committed Dec 7, 2024
1 parent 040d2ef commit a101fd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/dragonfly-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions internal/resources/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}

0 comments on commit a101fd0

Please sign in to comment.