jenkins: enforce OIDC via JCasC (no node move)
This commit is contained in:
parent
ce7631f896
commit
60a8192f61
@ -79,29 +79,6 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: jenkins-oidc
|
name: jenkins-oidc
|
||||||
key: logoutUrl
|
key: logoutUrl
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/arch: arm64
|
|
||||||
affinity:
|
|
||||||
nodeAffinity:
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
- matchExpressions:
|
|
||||||
- key: kubernetes.io/arch
|
|
||||||
operator: In
|
|
||||||
values: [ "arm64" ]
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
- weight: 90
|
|
||||||
preference:
|
|
||||||
matchExpressions:
|
|
||||||
- key: hardware
|
|
||||||
operator: In
|
|
||||||
values: [ "rpi5" ]
|
|
||||||
- weight: 50
|
|
||||||
preference:
|
|
||||||
matchExpressions:
|
|
||||||
- key: hardware
|
|
||||||
operator: In
|
|
||||||
values: [ "rpi4" ]
|
|
||||||
initScripts:
|
initScripts:
|
||||||
oidc.groovy: |
|
oidc.groovy: |
|
||||||
import hudson.util.Secret
|
import hudson.util.Secret
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user