mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-12 12:36:55 +00:00
admissionWebHooks: fix checking for caBundle (#1968)
This commit is contained in:
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user