-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.319.1 / Kubernetes Plugin 1.31.1
Hi there,
I'm currently experiencing issues merging a pod yaml file into a default pod template - all that happens is the default container will load without merging in my custom changes below...anyone know why?
pod.yaml -
apiVersion: "v1" kind: "Pod" spec: containers: - env: - name: "VAULT_TOKEN" valueFrom: secretKeyRef: key: "jenkins" name: "vault-token-custom" optional: false image: "redacted/some:image" name: "jnlp"
pipeline { agent { kubernetes { inheritFrom 'docker' yamlFile 'pod.yaml' yamlMergeStrategy merge() } }