diff --git a/k8s/quickstart-helm/client-deployment.yaml b/k8s/quickstart-helm/client-deployment.yaml new file mode 100644 index 0000000..bc107a5 --- /dev/null +++ b/k8s/quickstart-helm/client-deployment.yaml @@ -0,0 +1,32 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: client + labels: + app: client +spec: + selector: + matchLabels: + app: client + template: + metadata: + labels: + app: client + spec: + hostPID: true + hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet + containers: + - name: client + image: ghcr.io/spiffe/spire-agent:1.7.0 + command: ["/opt/spire/bin/spire-agent"] + args: [ "api", "watch", "-socketPath", "/run/spire/agent-sockets/spire-agent.sock" ] + volumeMounts: + - name: spire-agent-socket + mountPath: /run/spire/agent-sockets + readOnly: true + volumes: + - name: spire-agent-socket + hostPath: + path: /run/spire/agent-sockets + type: Directory