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

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/3002ed0f-f9ad-4ff9-85fd-f98ddc2194e7n%40googlegroups.com.

Reply via email to