diff --git a/deploy/charts/venafi-kubernetes-agent/Chart.yaml b/deploy/charts/venafi-kubernetes-agent/Chart.yaml index a773fde8..510c1b34 100644 --- a/deploy/charts/venafi-kubernetes-agent/Chart.yaml +++ b/deploy/charts/venafi-kubernetes-agent/Chart.yaml @@ -3,5 +3,5 @@ name: venafi-kubernetes-agent description: |- The Venafi Kubernetes Agent connects your Kubernetes or Openshift cluster to the Venafi Control Plane. type: application -version: 0.1.46 -appVersion: "v0.1.46" +version: 0.1.47 +appVersion: "v0.1.47" diff --git a/deploy/charts/venafi-kubernetes-agent/templates/deployment.yaml b/deploy/charts/venafi-kubernetes-agent/templates/deployment.yaml index 7ad857ad..94f1d6fd 100644 --- a/deploy/charts/venafi-kubernetes-agent/templates/deployment.yaml +++ b/deploy/charts/venafi-kubernetes-agent/templates/deployment.yaml @@ -32,13 +32,20 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- if eq .Values.authentication.type "token" }} + {{- if or .Values.http_proxy .Values.https_proxy .Values.no_proxy }} env: - - name: API_TOKEN - valueFrom: - secretKeyRef: - name: {{ default "agent-credentials" .Values.authentication.secretName }} - key: {{ default "apitoken" .Values.authentication.secretKey }} + {{- with .Values.http_proxy }} + - name: HTTP_PROXY + value: {{ . }} + {{- end }} + {{- with .Values.https_proxy }} + - name: HTTPS_PROXY + value: {{ . }} + {{- end }} + {{- with .Values.no_proxy }} + - name: NO_PROXY + value: {{ . }} + {{- end }} {{- end }} {{- if not (empty .Values.command) }} command: diff --git a/deploy/charts/venafi-kubernetes-agent/values.yaml b/deploy/charts/venafi-kubernetes-agent/values.yaml index 7a9df4ce..32bf8593 100644 --- a/deploy/charts/venafi-kubernetes-agent/values.yaml +++ b/deploy/charts/venafi-kubernetes-agent/values.yaml @@ -11,7 +11,7 @@ image: # -- Defaults to only pull if not already present pullPolicy: IfNotPresent # -- Overrides the image tag whose default is the chart appVersion - tag: "v0.1.45" + tag: "v0.1.47" # -- Specify image pull credentials if using a private registry # example: - name: my-pull-secret @@ -41,6 +41,21 @@ podSecurityContext: {} # runAsGroup: 3000 # fsGroup: 2000 +# Use these variables to configure the HTTP_PROXY environment variables. + +# Configures the HTTP_PROXY environment variable where a HTTP proxy is required. +# +docs:property +# http_proxy: "http://proxy:8080" + +# Configures the HTTPS_PROXY environment variable where a HTTP proxy is required. +# +docs:property +# https_proxy: "https://proxy:8080" + +# Configures the NO_PROXY environment variable where a HTTP proxy is required, +# but certain domains should be excluded. +# +docs:property +# no_proxy: 127.0.0.1,localhost + # -- Add Container specific SecurityContext settings to the container. Takes precedence over `podSecurityContext` when set. See https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container securityContext: capabilities: