admissionWebHooks: fix checking for caBundle (#1968)
This commit is contained in:
parent
0b0219b88f
commit
828d51baf2
|
|
@ -237,7 +237,7 @@ webhooks:
|
||||||
resources:
|
resources:
|
||||||
- runnerreplicasets
|
- runnerreplicasets
|
||||||
sideEffects: None
|
sideEffects: None
|
||||||
{{ if not (or .Values.admissionWebHooks.caBundle .Values.certManagerEnabled) }}
|
{{ if not (or (hasKey .Values.admissionWebHooks "caBundle") .Values.certManagerEnabled) }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
|
|
|
||||||
|
|
@ -1683,7 +1683,6 @@ $ helm --upgrade install actions-runner-controller/actions-runner-controller \
|
||||||
Set the Helm chart values as follows:
|
Set the Helm chart values as follows:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ CA_BUNDLE=$(cat path/to/ca.pem | base64)
|
|
||||||
$ helm --upgrade install actions-runner-controller/actions-runner-controller \
|
$ helm --upgrade install actions-runner-controller/actions-runner-controller \
|
||||||
certManagerEnabled=false
|
certManagerEnabled=false
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue