Skip to content

Commit

Permalink
CI: Configure Kubedock to use stage-instance-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Sgitario committed Jan 10, 2025
1 parent c524454 commit af93cc3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ pipeline {
}
agent {
kubernetes {
cloud 'ocp-c1'
cloud 'upshift'
label 'swatch-17-kubedock-2023-12-06' // this value + unique identifier becomes the pod name
idleMinutes 5 // how long the pod will live after no jobs have run on it
defaultContainer 'openjdk17'
yaml """
apiVersion: v1
kind: Pod
spec:
# Configure Kubedock to use this service account that has the "portForward" permission.
serviceAccountName: stage-instance-admin
# Quay secrets are not linked to the above service account, so we need to explicitly define it:
imagePullSecrets:
- name: nkathole-smqejenkins-pull-secret
containers:
- name: kubedock
image: quay.io/cloudservices/kubedock:latest
Expand Down

0 comments on commit af93cc3

Please sign in to comment.