Skip to content

Commit 8a05187

Browse files
keptn-botodubajDT
andauthored
Update keptn-cert-manager Helm chart (#160)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: odubajDT <[email protected]> Co-authored-by: odubajDT <[email protected]> Co-authored-by: odubajDT <[email protected]>
1 parent 9b1cd5b commit 8a05187

File tree

5 files changed

+59
-8
lines changed

5 files changed

+59
-8
lines changed

charts/keptn-cert-manager/Chart.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
apiVersion: v2
22
name: keptn-cert-manager
33
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
56
home: https://keptn.sh
67
sources:
7-
- "https://github.com/keptn/lifecycle-toolkit"
8+
- https://github.com/keptn/lifecycle-toolkit
89
keywords:
910
- cloud-native
1011
- keptn
@@ -31,14 +32,14 @@ type: application
3132
# This is the chart version. This version number should be incremented each time you make changes
3233
# to the chart and its templates, including the app version.
3334
# Versions are expected to follow Semantic Versioning (https://semver.org/)
34-
version: 0.2.3
35+
version: 0.2.4
3536

3637
# This is the version number of the application being deployed. This version number should be
3738
# incremented each time you make changes to the application. Versions are not expected to
3839
# follow Semantic Versioning. They should reflect the version the application is using.
3940
# 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
4142
dependencies:
4243
- name: common
43-
repository: "https://charts.lifecycle.keptn.sh"
44+
repository: https://charts.lifecycle.keptn.sh
4445
version: 0.2.1

charts/keptn-cert-manager/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ resource.
1616
| `global.commonLabels` | Common labels to add to all Keptn resources. Evaluated as a template | `{}` |
1717
| `global.commonAnnotations` | Common annotations to add to all Keptn resources. Evaluated as a template | `{}` |
1818
| `global.caInjectionAnnotations` | CA injection annotations for cert-manager.io configuration | `{}` |
19+
| `global.openShift.enabled` | Enable this value to install on Openshift | `false` |
1920

2021
### Keptn Certificate Operator common
2122

@@ -38,7 +39,7 @@ resource.
3839
| `env.labelSelectorValue` | specify the value for the label selector | `true` |
3940
| `image.registry` | specify the container registry for the certificate-operator image | `""` |
4041
| `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` |
4243
| `image.imagePullPolicy` | specify pull policy for the manager image. This overrides global values | `""` |
4344
| `livenessProbe` | custom RBAC proxy liveness probe | |
4445
| `readinessProbe` | custom manager readiness probe | |

charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml

+45-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,48 @@
11
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
246
kind: RoleBinding
347
metadata:
448
name: certificate-operator-leader-election-rolebinding
@@ -16,7 +60,7 @@ metadata:
1660
roleRef:
1761
apiGroup: rbac.authorization.k8s.io
1862
kind: Role
19-
name: 'leader-election-role'
63+
name: 'certificate-operator-leader-election-role'
2064
subjects:
2165
- kind: ServiceAccount
2266
name: 'certificate-operator'

charts/keptn-cert-manager/templates/deployment.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ spec:
5656
capabilities: {{- include "common.tplvalues.render" (dict "value" .Values.containerSecurityContext.capabilities "context" $) | nindent 14 }}
5757
readOnlyRootFilesystem: {{ .Values.containerSecurityContext.readOnlyRootFilesystem
5858
}}
59+
{{- if not .Values.global.openShift.enabled }}
5960
runAsGroup: {{ .Values.containerSecurityContext.runAsGroup
6061
}}
6162
runAsUser: {{ .Values.containerSecurityContext.runAsUser
6263
}}
64+
{{- end }}
6365
seccompProfile: {{- include "common.tplvalues.render" (dict "value" .Values.containerSecurityContext.seccompProfile
6466
"context" $) | nindent 14 }}
6567
{{- if .Values.livenessProbe }}

charts/keptn-cert-manager/values.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ global:
2020
commonAnnotations: {}
2121
## @param global.caInjectionAnnotations CA injection annotations for cert-manager.io configuration
2222
caInjectionAnnotations: { }
23+
openShift:
24+
## @param global.openShift.enabled Enable this value to install on Openshift
25+
enabled: false
2326

2427

2528
# yamllint disable rule:line-length
@@ -69,7 +72,7 @@ image:
6972
## @param image.repository specify repo for manager image
7073
repository: keptn/certificate-operator
7174
## @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
7376
## @param image.imagePullPolicy specify pull policy for the manager image. This overrides global values
7477
imagePullPolicy: ""
7578
## @extra livenessProbe custom RBAC proxy liveness probe

0 commit comments

Comments
 (0)