From 009e2457f2ee6b6d6abd750f3e24372dd002bd2e Mon Sep 17 00:00:00 2001 From: Daniel O'Brien Date: Thu, 24 Aug 2017 15:22:56 -0400 Subject: [PATCH] adding insecure TLS to Helm chart --- contrib/helm/clair/templates/deployment.yaml | 1 + contrib/helm/clair/values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/contrib/helm/clair/templates/deployment.yaml b/contrib/helm/clair/templates/deployment.yaml index 18073753..561bb0f9 100644 --- a/contrib/helm/clair/templates/deployment.yaml +++ b/contrib/helm/clair/templates/deployment.yaml @@ -24,6 +24,7 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} args: - "-log-level={{ .Values.logLevel }}" + {{ if .Values.insecureTls }}- "--insecure-tls" {{end}} ports: - name: clair-api containerPort: {{ .Values.service.internalApiPort }} diff --git a/contrib/helm/clair/values.yaml b/contrib/helm/clair/values.yaml index 369d5054..4cf0953b 100644 --- a/contrib/helm/clair/values.yaml +++ b/contrib/helm/clair/values.yaml @@ -3,6 +3,7 @@ # Declare variables to be passed into your templates. replicaCount: 1 logLevel: info +insecureTls: false image: repository: quay.io/coreos/clair-git tag: latest