Hi,
I would like to install some packages on the agent to support my tasks what is the best way to achieve this? The agents are running on a closed K8S installation so I am not worry too much about security.
Can this be done with the agent images available or would it be better to create my own giving the go user sudo privs?
apiVersion: v1
kind: Pod
metadata:
name: gocd-agent-{{ POD_POSTFIX }}
labels:
app: siab-agent
spec:
serviceAccountName: default
containers:
- name: gocd-agent-container-{{ CONTAINER_POSTFIX }}
image: gocd/gocd-agent-ubuntu-20.04:v22.1.0
securityContext:
privileged: true
Cheers.
Paul