image: add upgrade-agent (#827)

This commit is contained in:
3u13r 2022-12-29 17:50:11 +01:00 committed by GitHub
parent 0297aed1ea
commit 473e16feb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 97 additions and 1 deletions

View file

@ -107,6 +107,9 @@ spec:
- mountPath: /etc/gce
name: gceconf
readOnly: true
- mountPath: /etc/constellation-upgrade-agent.sock
name: upgrade-agent-socket
readOnly: true
nodeSelector:
node-role.kubernetes.io/control-plane: ""
securityContext:
@ -141,3 +144,7 @@ spec:
name: gceconf
optional: true
name: gceconf
- name: upgrade-agent-socket
hostPath:
path: /run/constellation-upgrade-agent.sock
type: Socket

View file

@ -107,6 +107,9 @@ spec:
- mountPath: /etc/gce
name: gceconf
readOnly: true
- mountPath: /etc/constellation-upgrade-agent.sock
name: upgrade-agent-socket
readOnly: true
nodeSelector:
node-role.kubernetes.io/control-plane: ""
securityContext:
@ -141,3 +144,7 @@ spec:
name: gceconf
optional: true
name: gceconf
- name: upgrade-agent-socket
hostPath:
path: /run/constellation-upgrade-agent.sock
type: Socket

View file

@ -42,6 +42,9 @@ spec:
- mountPath: /etc/gce
name: gceconf
readOnly: true
- mountPath: /etc/constellation-upgrade-agent.sock
name: upgrade-agent-socket
readOnly: true
- mountPath: /var/secrets/google
name: gcekey
readOnly: true
@ -76,6 +79,10 @@ spec:
- name: gceconf
configMap:
name: gceconf
- name: upgrade-agent-socket
hostPath:
path: /run/constellation-upgrade-agent.sock
type: Socket
- name: gcekey
secret:
secretName: gcekey

View file

@ -107,6 +107,9 @@ spec:
- mountPath: /etc/gce
name: gceconf
readOnly: true
- mountPath: /etc/constellation-upgrade-agent.sock
name: upgrade-agent-socket
readOnly: true
nodeSelector:
node-role.kubernetes.io/control-plane: ""
securityContext:
@ -141,3 +144,7 @@ spec:
name: gceconf
optional: true
name: gceconf
- name: upgrade-agent-socket
hostPath:
path: /run/constellation-upgrade-agent.sock
type: Socket