File tree 5 files changed +59
-8
lines changed
charts/keptn-cert-manager
5 files changed +59
-8
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : keptn-cert-manager
3
3
description : A Helm chart for Keptn Certificate Manager, a subproject of Keptn
4
- icon : " https://raw.githubusercontent.com/cncf/artwork/master/projects/keptn/icon/color/keptn-icon-color.svg"
4
+ icon : >-
5
+ https://raw.githubusercontent.com/cncf/artwork/master/projects/keptn/icon/color/keptn-icon-color.svg
5
6
home : https://keptn.sh
6
7
sources :
7
- - " https://github.com/keptn/lifecycle-toolkit"
8
+ - https://github.com/keptn/lifecycle-toolkit
8
9
keywords :
9
10
- cloud-native
10
11
- keptn
@@ -31,14 +32,14 @@ type: application
31
32
# This is the chart version. This version number should be incremented each time you make changes
32
33
# to the chart and its templates, including the app version.
33
34
# Versions are expected to follow Semantic Versioning (https://semver.org/)
34
- version : 0.2.3
35
+ version : 0.2.4
35
36
36
37
# This is the version number of the application being deployed. This version number should be
37
38
# incremented each time you make changes to the application. Versions are not expected to
38
39
# follow Semantic Versioning. They should reflect the version the application is using.
39
40
# It is recommended to use it with quotes.
40
- appVersion : " v2.1.1 " # x-release-please-version
41
+ appVersion : " v2.2.0 " # x-release-please-version
41
42
dependencies :
42
43
- name : common
43
- repository : " https://charts.lifecycle.keptn.sh"
44
+ repository : https://charts.lifecycle.keptn.sh
44
45
version : 0.2.1
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ resource.
16
16
| ` global.commonLabels ` | Common labels to add to all Keptn resources. Evaluated as a template | ` {} ` |
17
17
| ` global.commonAnnotations ` | Common annotations to add to all Keptn resources. Evaluated as a template | ` {} ` |
18
18
| ` global.caInjectionAnnotations ` | CA injection annotations for cert-manager.io configuration | ` {} ` |
19
+ | ` global.openShift.enabled ` | Enable this value to install on Openshift | ` false ` |
19
20
20
21
### Keptn Certificate Operator common
21
22
@@ -38,7 +39,7 @@ resource.
38
39
| ` env.labelSelectorValue ` | specify the value for the label selector | ` true ` |
39
40
| ` image.registry ` | specify the container registry for the certificate-operator image | ` "" ` |
40
41
| ` image.repository ` | specify repo for manager image | ` keptn/certificate-operator ` |
41
- | ` image.tag ` | select tag for manager container | ` v2.1.1 ` |
42
+ | ` image.tag ` | select tag for manager container | ` v2.2.0 ` |
42
43
| ` image.imagePullPolicy ` | specify pull policy for the manager image. This overrides global values | ` "" ` |
43
44
| ` livenessProbe ` | custom RBAC proxy liveness probe | |
44
45
| ` readinessProbe ` | custom manager readiness probe | |
Original file line number Diff line number Diff line change 1
1
apiVersion : rbac.authorization.k8s.io/v1
2
+ kind : Role
3
+ metadata :
4
+ name : certificate-operator-leader-election-role
5
+ namespace : {{ .Release.Namespace | quote }}
6
+ {{- $annotations := include "common.annotations" (dict "context" .) }}
7
+ {{- with $annotations }}
8
+ annotations : {{- . -}}
9
+ {{- end }}
10
+ labels :
11
+ {{- include "common.labels.standard" ( dict "context" . ) | nindent 4 }}
12
+ rules :
13
+ - apiGroups :
14
+ - " "
15
+ resources :
16
+ - configmaps
17
+ verbs :
18
+ - get
19
+ - list
20
+ - watch
21
+ - create
22
+ - update
23
+ - patch
24
+ - delete
25
+ - apiGroups :
26
+ - coordination.k8s.io
27
+ resources :
28
+ - leases
29
+ verbs :
30
+ - get
31
+ - list
32
+ - watch
33
+ - create
34
+ - update
35
+ - patch
36
+ - delete
37
+ - apiGroups :
38
+ - " "
39
+ resources :
40
+ - events
41
+ verbs :
42
+ - create
43
+ - patch
44
+ ---
45
+ apiVersion : rbac.authorization.k8s.io/v1
2
46
kind : RoleBinding
3
47
metadata :
4
48
name : certificate-operator-leader-election-rolebinding
@@ -16,7 +60,7 @@ metadata:
16
60
roleRef :
17
61
apiGroup : rbac.authorization.k8s.io
18
62
kind : Role
19
- name : ' leader-election-role'
63
+ name : ' certificate-operator- leader-election-role'
20
64
subjects :
21
65
- kind : ServiceAccount
22
66
name : ' certificate-operator'
Original file line number Diff line number Diff line change @@ -56,10 +56,12 @@ spec:
56
56
capabilities : {{- include "common.tplvalues.render" (dict "value" .Values.containerSecurityContext.capabilities "context" $) | nindent 14 }}
57
57
readOnlyRootFilesystem : {{ .Values.containerSecurityContext.readOnlyRootFilesystem
58
58
}}
59
+ {{- if not .Values.global.openShift.enabled }}
59
60
runAsGroup : {{ .Values.containerSecurityContext.runAsGroup
60
61
}}
61
62
runAsUser : {{ .Values.containerSecurityContext.runAsUser
62
63
}}
64
+ {{- end }}
63
65
seccompProfile : {{- include "common.tplvalues.render" (dict "value" .Values.containerSecurityContext.seccompProfile
64
66
" context" $) | nindent 14 }}
65
67
{{- if .Values.livenessProbe }}
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ global:
20
20
commonAnnotations : {}
21
21
# # @param global.caInjectionAnnotations CA injection annotations for cert-manager.io configuration
22
22
caInjectionAnnotations : { }
23
+ openShift :
24
+ # # @param global.openShift.enabled Enable this value to install on Openshift
25
+ enabled : false
23
26
24
27
25
28
# yamllint disable rule:line-length
69
72
# # @param image.repository specify repo for manager image
70
73
repository : keptn/certificate-operator
71
74
# # @param image.tag select tag for manager container
72
- tag : v2.1.1 # x-release-please-version
75
+ tag : v2.2.0 # x-release-please-version
73
76
# # @param image.imagePullPolicy specify pull policy for the manager image. This overrides global values
74
77
imagePullPolicy : " "
75
78
# # @extra livenessProbe custom RBAC proxy liveness probe
You can’t perform that action at this time.
0 commit comments