adding insecure TLS to Helm chart

This commit is contained in:
Daniel O'Brien 2017-08-24 15:22:56 -04:00
parent 44b9701c94
commit 009e2457f2
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
args: args:
- "-log-level={{ .Values.logLevel }}" - "-log-level={{ .Values.logLevel }}"
{{ if .Values.insecureTls }}- "--insecure-tls" {{end}}
ports: ports:
- name: clair-api - name: clair-api
containerPort: {{ .Values.service.internalApiPort }} containerPort: {{ .Values.service.internalApiPort }}

View File

@ -3,6 +3,7 @@
# Declare variables to be passed into your templates. # Declare variables to be passed into your templates.
replicaCount: 1 replicaCount: 1
logLevel: info logLevel: info
insecureTls: false
image: image:
repository: quay.io/coreos/clair-git repository: quay.io/coreos/clair-git
tag: latest tag: latest