Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions autocert/templates/autocert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "autocert.fullname" . }}
labels:
{{- include "autocert.labels" . | nindent 4 }}
{{- if .Values.annotations }}
annotations:
{{- toYaml .Values.annotations | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand All @@ -15,6 +19,10 @@ spec:
labels:
app.kubernetes.io/name: {{ include "autocert.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{- toYaml .Values.podAnnotations | nindent 8}}
{{- end }}
spec:
{{- if and .Release.IsInstall (index .Values "step-certificates" "enabled") }}
initContainers:
Expand Down
6 changes: 6 additions & 0 deletions autocert/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ service:
podSecurityContext: {}
# fsGroup: 2000

# Deployment Annotations
annotations: {}

# Annotations to be added to deployment pods
podAnnotations: {}

# autocert contains the configuration for autocert.
autocert:
# image contains the docker image for step-certificates.
Expand Down
8 changes: 8 additions & 0 deletions step-issuer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ metadata:
labels:
control-plane: {{ .Values.service.controlPlane }}
{{- include "step-issuer.labels" . | nindent 4 }}
{{- if .Values.annotations }}
annotations:
{{- toYaml .Values.annotations | nindent 4 }}
{{- end }}
spec:
{{- if .Values.deployment.strategy }}
strategy: {{ toYaml .Values.deployment.strategy | nindent 4 }}
Expand All @@ -20,6 +24,10 @@ spec:
labels:
control-plane: {{ .Values.service.controlPlane }}
{{- include "step-issuer.labels" . | nindent 8 }}
{{- if .Values.podAnnotations }}
annotations:
{{- toYaml .Values.podAnnotations | nindent 8}}
{{- end }}
spec:
{{- if $.Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
6 changes: 6 additions & 0 deletions step-issuer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

# Deployment Annotations
annotations: {}

# Annotations to be added to deployment pods
podAnnotations: {}

deployment:
# Configure arguments to pass to the step issuer
args:
Expand Down