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