Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socat-tunneller: add support for securityContext and volumes #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/socat-tunneller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.0"
description: A Helm chart for socat-tunneller
name: socat-tunneller
version: 0.2.0
version: 0.2.1
home: http://www.dest-unreach.org/socat/
maintainers:
- name: plumdog
Expand Down
8 changes: 8 additions & 0 deletions charts/socat-tunneller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
{{ toYaml . | indent 8 }}
{{- end }}
spec:
securityContext:
{{ toYaml .Values.podSecurityContext | indent 8 }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand All @@ -43,8 +45,12 @@ spec:
- name: tunnel-port
containerPort: {{ include "tunneller.localPort" . }}
protocol: TCP
securityContext:
{{ toYaml .Values.securityContext | indent 12 }}
resources:
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:
{{ toYaml .Values.volumeMounts | indent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
Expand All @@ -57,3 +63,5 @@ spec:
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
volumes:
{{ toYaml .Values.volumes | indent 8 }}
8 changes: 8 additions & 0 deletions charts/socat-tunneller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ fullnameOverride: ""
service:
type: ClusterIP

podSecurityContext: {}

securityContext: {}

resources: {}

volumeMounts: []

volumes: []

nodeSelector: {}

tolerations: []
Expand Down