diff --git a/onetun/chart/onetun/Chart.yaml b/onetun/chart/onetun/Chart.yaml index 2ef0f10..866cbcd 100644 --- a/onetun/chart/onetun/Chart.yaml +++ b/onetun/chart/onetun/Chart.yaml @@ -3,4 +3,4 @@ name: onetun description: A Helm chart for onetun, a WireGuard port-forwarder type: application version: 0.1.0 -appVersion: "v0.1.11" +appVersion: "v0.2.1" diff --git a/onetun/chart/onetun/templates/deployment.yaml b/onetun/chart/onetun/templates/deployment.yaml index 588199d..35070ed 100644 --- a/onetun/chart/onetun/templates/deployment.yaml +++ b/onetun/chart/onetun/templates/deployment.yaml @@ -61,10 +61,8 @@ spec: value: {{ .Values.onetun.sourcePeerIP | quote }} - name: ONETUN_KEEP_ALIVE value: {{ .Values.onetun.keepAlive | quote }} - - name: ONETUN_DESTINATION_ADDR - value: {{ .Values.onetun.destination | quote }} - - name: ONETUN_SOURCE_ADDR - value: "0.0.0.0:2115" + - name: ONETUN_PORT_FORWARD_1 + value: "0.0.0.0:2115:{{ .Values.onetun.destination }}" {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}