Skip to content

Commit

Permalink
Fix k8s integration test
Browse files Browse the repository at this point in the history
Signed-off-by: Agustín Martínez Fayó <amartinezfayo@gmail.com>
  • Loading branch information
amartinezfayo committed Mar 14, 2024
1 parent 3fd06ed commit 62b12d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 4 additions & 0 deletions test/integration/suites/k8s/conf/agent/spire-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
serviceAccountName: spire-agent
# Make sure that we can create the directory for the socket in the host
securityContext:
runAsUser: 0
runAsGroup: 0
containers:
- name: spire-agent
image: spire-agent:latest-local
Expand Down
7 changes: 0 additions & 7 deletions test/integration/suites/k8s/conf/server/spire-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ spec:
- name: spire-config
mountPath: /run/spire/config
readOnly: true
- name: spire-server-socket
mountPath: /tmp/spire-server/private
readOnly: false
livenessProbe:
httpGet:
path: /live
Expand All @@ -218,10 +215,6 @@ spec:
- name: spire-config
configMap:
name: spire-server
- name: spire-server-socket
hostPath:
path: /run/spire/server-sockets
type: DirectoryOrCreate

---

Expand Down

0 comments on commit 62b12d4

Please sign in to comment.