Skip to content

Commit

Permalink
extracontainerport -> extraports
Browse files Browse the repository at this point in the history
  • Loading branch information
mbirchdk committed Oct 8, 2024
1 parent 02c1f29 commit baf456a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion helm/kitcaddy/templates/doc-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
ports:
- name: container-port
containerPort: {{ .Values.docDeployment.containerPort }}
{{- range $name, $port := .Values.docDeployment.extraContainerPort }}
{{- range $name, $port := .Values.docDeployment.extraPorts }}
- name: {{ $name }}
containerPort: {{ $port }}
{{- end }}
Expand Down
6 changes: 5 additions & 1 deletion helm/kitcaddy/templates/kitcaddy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ spec:
ports:
- containerPort: {{ .Values.sidecar.containerPort }}
name: sidecar-port
{{- range $name, $port := .Values.sidecar.extraPorts }}
- name: {{ $name }}
containerPort: {{ $port }}
{{- end }}
{{- if (.Values.sidecar.extraVolumeMounts) }}
volumeMounts:
{{- end }}
Expand Down Expand Up @@ -199,7 +203,7 @@ spec:
ports:
- name: container-port
containerPort: {{ .Values.deployment.containerPort }}
{{- range $name, $port := .Values.deployment.extraContainerPort }}
{{- range $name, $port := .Values.deployment.extraPorts }}
- name: {{ $name }}
containerPort: {{ $port }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions helm/kitcaddyExampleValues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ deployment:
- 1234
- testest
configMapMountPath: /config
extraContainerPort:
extraPorts:
http: 999
extraVolumeMounts:
test123:
Expand Down Expand Up @@ -286,7 +286,7 @@ deployment:
docDeployment:
enabled: true
containerPort: 8080
extraContainerPort:
extraPorts:
http: 8080
readinessProbe:
httpGet:
Expand Down

0 comments on commit baf456a

Please sign in to comment.