Skip to content

Commit

Permalink
[mtls-proxy] Add annotations option (#438)
Browse files Browse the repository at this point in the history
* mtls-proxy: Add deployment annotations values option

* mtls-proxy: Bump chart version

Co-authored-by: Alejandro Escobar <[email protected]>
Co-authored-by: Shane Utt <[email protected]>
  • Loading branch information
3 people authored Feb 19, 2020
1 parent e7bfb52 commit 9a29484
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/mtls-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ appVersion: "1.0"
description: mTLS proxy
name: mtls-proxy
home: https://github.com/mesosphere/charts
version: 0.1.0
version: 0.1.1
maintainers:
- name: branden
6 changes: 5 additions & 1 deletion stable/mtls-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "mtls-proxy.fullname" . }}
labels:
{{ include "mtls-proxy.labels" . | indent 4 }}
{{- with .Values.deployment.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down Expand Up @@ -32,7 +36,7 @@ spec:
- "--key=/etc/certs/tls.key"
- "--cacert=/etc/certs/ca.crt"
# Allow targets outside localhost and unix domain sockets.
- "--unsafe-target"
- "--unsafe-target"
# Don't check cert subject.
- "--allow-all"
ports:
Expand Down
3 changes: 3 additions & 0 deletions stable/mtls-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ target: ""
# Secret containing server and CA certificates.
# Must contain tls.crt, tls.key, and ca.crt.
certSecretName: ""

deployment:
annotations: {}

0 comments on commit 9a29484

Please sign in to comment.