Skip to content

Commit 4072288

Browse files
committed
make generate
1 parent 1a85df1 commit 4072288

File tree

14 files changed

+21
-14
lines changed

14 files changed

+21
-14
lines changed

docs/book/src/cronjob-tutorial/testdata/project/dist/chart/templates/manager/manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spec:
4747
{{- toYaml .Values.controllerManager.container.readinessProbe | nindent 12 }}
4848
{{- if .Values.webhook.enable }}
4949
ports:
50-
- containerPort: 9443
50+
- containerPort: {{ .Values.webhook.port }}
5151
name: webhook-server
5252
protocol: TCP
5353
{{- end }}

docs/book/src/cronjob-tutorial/testdata/project/dist/chart/templates/metrics/metrics-service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ metadata:
99
control-plane: controller-manager
1010
spec:
1111
ports:
12-
- port: 8443
13-
targetPort: 8443
12+
- port: {{ .Values.metrics.port }}
13+
targetPort: {{ .Values.metrics.port }}
1414
protocol: TCP
1515
name: https
1616
selector:

docs/book/src/cronjob-tutorial/testdata/project/dist/chart/templates/webhook/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
ports:
1111
- port: 443
1212
protocol: TCP
13-
targetPort: 9443
13+
targetPort: {{ .Values.webhook.port }}
1414
selector:
1515
control-plane: controller-manager
1616
{{- end }}

docs/book/src/cronjob-tutorial/testdata/project/dist/chart/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,15 @@ crd:
6262
# ControllerManager argument "--metrics-bind-address=:8443" is removed.
6363
metrics:
6464
enable: true
65+
port: 8443
6566

6667
# [WEBHOOKS]: Webhooks configuration
6768
# The following configuration is automatically generated from the manifests
6869
# generated by controller-gen. To update run 'make manifests' and
6970
# the edit command with the '--force' flag
7071
webhook:
7172
enable: true
73+
port: 9443
7274

7375
# [PROMETHEUS]: To enable a ServiceMonitor to export metrics to Prometheus set true
7476
prometheus:

docs/book/src/getting-started/testdata/project/dist/chart/templates/metrics/metrics-service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ metadata:
99
control-plane: controller-manager
1010
spec:
1111
ports:
12-
- port: 8443
13-
targetPort: 8443
12+
- port: {{ .Values.metrics.port }}
13+
targetPort: {{ .Values.metrics.port }}
1414
protocol: TCP
1515
name: https
1616
selector:

docs/book/src/getting-started/testdata/project/dist/chart/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ crd:
6262
# ControllerManager argument "--metrics-bind-address=:8443" is removed.
6363
metrics:
6464
enable: true
65+
port: 8443
6566

6667
# [PROMETHEUS]: To enable a ServiceMonitor to export metrics to Prometheus set true
6768
prometheus:

docs/book/src/multiversion-tutorial/testdata/project/dist/chart/templates/manager/manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spec:
4747
{{- toYaml .Values.controllerManager.container.readinessProbe | nindent 12 }}
4848
{{- if .Values.webhook.enable }}
4949
ports:
50-
- containerPort: 9443
50+
- containerPort: {{ .Values.webhook.port }}
5151
name: webhook-server
5252
protocol: TCP
5353
{{- end }}

docs/book/src/multiversion-tutorial/testdata/project/dist/chart/templates/metrics/metrics-service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ metadata:
99
control-plane: controller-manager
1010
spec:
1111
ports:
12-
- port: 8443
13-
targetPort: 8443
12+
- port: {{ .Values.metrics.port }}
13+
targetPort: {{ .Values.metrics.port }}
1414
protocol: TCP
1515
name: https
1616
selector:

docs/book/src/multiversion-tutorial/testdata/project/dist/chart/templates/webhook/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
ports:
1111
- port: 443
1212
protocol: TCP
13-
targetPort: 9443
13+
targetPort: {{ .Values.webhook.port }}
1414
selector:
1515
control-plane: controller-manager
1616
{{- end }}

docs/book/src/multiversion-tutorial/testdata/project/dist/chart/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,15 @@ crd:
6262
# ControllerManager argument "--metrics-bind-address=:8443" is removed.
6363
metrics:
6464
enable: true
65+
port: 8443
6566

6667
# [WEBHOOKS]: Webhooks configuration
6768
# The following configuration is automatically generated from the manifests
6869
# generated by controller-gen. To update run 'make manifests' and
6970
# the edit command with the '--force' flag
7071
webhook:
7172
enable: true
73+
port: 9443
7274

7375
# [PROMETHEUS]: To enable a ServiceMonitor to export metrics to Prometheus set true
7476
prometheus:

0 commit comments

Comments
 (0)