From b30149238d900944e5e4530494100515ebac3a43 Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Thu, 20 Aug 2020 12:07:10 +0200 Subject: [PATCH] add ALLOW env --- charts/rsyncd/Chart.yaml | 2 +- charts/rsyncd/templates/deployment.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/rsyncd/Chart.yaml b/charts/rsyncd/Chart.yaml index b34c004..d037256 100644 --- a/charts/rsyncd/Chart.yaml +++ b/charts/rsyncd/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/rsyncd/templates/deployment.yaml b/charts/rsyncd/templates/deployment.yaml index 5e60662..09f7f1f 100644 --- a/charts/rsyncd/templates/deployment.yaml +++ b/charts/rsyncd/templates/deployment.yaml @@ -33,6 +33,9 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + env: + name: ALLOW + value: {{ .Values.allowNetwork | quote }} ports: - name: rsync containerPort: 873