Skip to content

Commit

Permalink
extraContainerPorts
Browse files Browse the repository at this point in the history
  • Loading branch information
mbirchdk committed Oct 8, 2024
1 parent 1f884b2 commit 02c1f29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/kitcaddy/templates/kitcaddy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ spec:
ports:
- name: container-port
containerPort: {{ .Values.deployment.containerPort }}
{{- range $name, $port := .Values.deployment.extraContainerPort }}
- name: {{ $name }}
containerPort: {{ $port }}
{{- end }}
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down
2 changes: 2 additions & 0 deletions helm/kitcaddyExampleValues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ deployment:
- 1234
- testest
configMapMountPath: /config
extraContainerPort:
http: 999
extraVolumeMounts:
test123:
mountPath: /123
Expand Down

0 comments on commit 02c1f29

Please sign in to comment.