File tree Expand file tree Collapse file tree 5 files changed +27
-3
lines changed
charts/cert-manager-webhook-rackspace Expand file tree Collapse file tree 5 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 81
81
82
82
- name : Run chart-testing (lint)
83
83
if : steps.list-changed.outputs.changed == 'true'
84
- run : ct lint --target-branch ${{ github.event.repository.default_branch }}
84
+ run : ct lint --check-version-increment=false -- target-branch ${{ github.event.repository.default_branch }}
Original file line number Diff line number Diff line change 53
53
-e "s/^version:.*/version: ${PKG_VER}/" \
54
54
-i charts/cert-manager-webhook-rackspace/Chart.yaml
55
55
helm package -u -d . charts/cert-manager-webhook-rackspace
56
- helm push cert-manager-webhook-rackspace-${PKG_VER}.tgz "oci://ghcr.io/$GITHUB_REPOSITORY "
56
+ helm push cert-manager-webhook-rackspace-${PKG_VER}.tgz "oci://ghcr.io/$GITHUB_REPOSITORY_OWNER/charts "
57
57
Original file line number Diff line number Diff line change @@ -3,3 +3,6 @@ appVersion: "0.0.0"
3
3
description : Rackspace Cloud DNS webhook for cert-manager support
4
4
name : cert-manager-webhook-rackspace
5
5
version : 0.1.0
6
+ maintainers :
7
+ - name : cardoe
8
+
Original file line number Diff line number Diff line change @@ -28,12 +28,13 @@ spec:
28
28
args :
29
29
- --tls-cert-file=/tls/tls.crt
30
30
- --tls-private-key-file=/tls/tls.key
31
+ - --secure-port=8443
31
32
env :
32
33
- name : GROUP_NAME
33
34
value : {{ .Values.groupName | quote }}
34
35
ports :
35
36
- name : https
36
- containerPort : 443
37
+ containerPort : 8443
37
38
protocol : TCP
38
39
livenessProbe :
39
40
httpGet :
45
46
scheme : HTTPS
46
47
path : /healthz
47
48
port : https
49
+ {{- with .Values.securityContext }}
50
+ securityContext :
51
+ {{ toYaml . | indent 12 }}
52
+ {{- end }}
48
53
volumeMounts :
49
54
- name : certs
50
55
mountPath : /tls
55
60
- name : certs
56
61
secret :
57
62
secretName : {{ include "cert-manager-webhook-rackspace.servingCertificate" . }}
63
+ {{- with .Values.podSecurityContext }}
64
+ securityContext :
65
+ {{ toYaml . | indent 8 }}
66
+ {{- end }}
58
67
{{- with .Values.nodeSelector }}
59
68
nodeSelector :
60
69
{{ toYaml . | indent 8 }}
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ certManager:
14
14
15
15
image :
16
16
repository : ghcr.io/rackerlabs/cert-manager-webhook-rackspace
17
+ # Overrides the image tag whose default is {{ printf "v%s" .Chart.AppVersion }}
18
+ tag : " "
17
19
pullPolicy : IfNotPresent
18
20
19
21
nameOverride : " "
@@ -40,3 +42,13 @@ nodeSelector: {}
40
42
tolerations : []
41
43
42
44
affinity : {}
45
+
46
+ securityContext :
47
+ allowPrivilegeEscalation : false
48
+ capabilities :
49
+ drop : ["ALL"]
50
+
51
+ podSecurityContext :
52
+ runAsGroup : 1000
53
+ runAsUser : 1000
54
+ runAsNonRoot : true
You can’t perform that action at this time.
0 commit comments