31 lines
491 B
YAML
31 lines
491 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
labels:
|
|
some-label: jenkins-agent
|
|
spec:
|
|
containers:
|
|
- name: kubectl
|
|
image: mcr.microsoft.com/azure-cli:latest
|
|
command:
|
|
- cat
|
|
tty: true
|
|
volumeMounts:
|
|
- name: azure-config
|
|
mountPath: /root/.azure
|
|
|
|
- name: kubelogin
|
|
image: ghcr.io/int128/kubelogin:latest
|
|
command:
|
|
- cat
|
|
tty: true
|
|
|
|
volumes:
|
|
- name: azure-config
|
|
emptyDir: {}
|
|
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
|
|
restartPolicy: Never
|