Skip to content

Commit

Permalink
Merge branch 'temp20200207' of https://github.com/fewdan/chaos-mesh i…
Browse files Browse the repository at this point in the history
…nto temp20200207
  • Loading branch information
fewdan committed Feb 13, 2020
2 parents ec94490 + 01650fe commit d299c4a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#
# Please keep the list sorted.

Anglenet <[email protected]>
Ben Ye <[email protected]>
Cwen <[email protected]>
Genboku <[email protected]>
Expand All @@ -23,4 +24,4 @@ Song Gao <[email protected]>
Wenbo Zhang <[email protected]>
Xuwei Fu <[email protected]>
Yihao Fu <[email protected]>
Yujun Zhang <[email protected]>
Yujun Zhang <[email protected]>
2 changes: 1 addition & 1 deletion cmd/controller-manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func init() {
}

func parseFlags() {
flag.StringVar(&metricsAddr, "metrics-addr", ":8080", "The address the metric endpoint binds to.")
flag.StringVar(&metricsAddr, "metrics-addr", ":10080", "The address the metric endpoint binds to.")
flag.BoolVar(&enableLeaderElection, "enable-leader-election", false,
"Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.")
flag.StringVar(&certsDir, "certs", "/etc/webhook/certs",
Expand Down
4 changes: 3 additions & 1 deletion helm/chaos-mesh/templates/controller-manager-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ spec:
mountPath: /etc/webhook/certs
readOnly: true
ports:
- name: webhook-api
- name: webhook
containerPort: 9443 # Customize containerPort
- name: http
containerPort: 10080
volumes:
- name: webhook-certs
secret:
Expand Down
10 changes: 5 additions & 5 deletions helm/chaos-mesh/templates/controller-manager-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ metadata:
spec:
type: {{ .Values.controllerManager.service.type }}
ports:
# - port: {{ .Values.controllerManager.service.port }}
# targetPort: http
# protocol: TCP
# name: http
- port: 10080
targetPort: http
protocol: TCP
name: http
- port: 443
targetPort: 9443
targetPort: webhook
protocol: TCP
name: webhook
selector:
Expand Down
1 change: 0 additions & 1 deletion helm/chaos-mesh/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ controllerManager:

service:
type: ClusterIP
port: 10080

resources:
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit d299c4a

Please sign in to comment.