Skip to content

Commit

Permalink
Add 'extraEnv' 'service.annotations' and 'podAnnotations' parameters (#…
Browse files Browse the repository at this point in the history
…16)

* Add 'extraEnv' 'service.annotations' and 'podAnnotations' parameters

* Bump chart version
  • Loading branch information
Denis Shatohin authored Sep 9, 2022
1 parent 0544136 commit ce60ff1
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/cert-manager-webhook-selectel/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ maintainers:
- name: andrsp
email: izotikov@selectel.ru
url: https://github.com/andrsp
version: 1.2.2
version: 1.2.3
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ spec:
release: {{ .Release.Name }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
app: {{ include "cert-manager-webhook-selectel.name" . }}
release: {{ .Release.Name }}
Expand All @@ -31,6 +35,9 @@ spec:
env:
- name: GROUP_NAME
value: {{ .Values.groupName | quote }}
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: https
containerPort: 443
Expand Down
4 changes: 4 additions & 0 deletions deploy/cert-manager-webhook-selectel/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "cert-manager-webhook-selectel.fullname" . }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
app: {{ include "cert-manager-webhook-selectel.name" . }}
chart: {{ include "cert-manager-webhook-selectel.chart" . }}
Expand Down
9 changes: 9 additions & 0 deletions deploy/cert-manager-webhook-selectel/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ certManager:
namespace: cert-manager
serviceAccountName: cert-manager

replicaCount: 1

image:
repository: ghcr.io/selectel/cert-manager-webhook-selectel
tag: v1.2.0
Expand All @@ -20,9 +22,14 @@ image:
nameOverride: ""
fullnameOverride: ""

extraEnv: []
# - name: SOME_VAR
# value: "some value"

service:
type: ClusterIP
port: 443
annotations: {}

resources: {}
# limits:
Expand All @@ -32,6 +39,8 @@ resources: {}
# cpu: 100m
# memory: 128Mi

podAnnotations: {}

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit ce60ff1

Please sign in to comment.