remove old initcontainers
This commit is contained in:
@@ -6,19 +6,14 @@ metadata:
|
||||
spec:
|
||||
templates:
|
||||
- name: scan-socketdev
|
||||
metadata:
|
||||
annotations:
|
||||
secrets.infisical.com/auto-reload: "true"
|
||||
initContainers:
|
||||
- name: wait-for-infisical
|
||||
image: alpine:3.20
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
args:
|
||||
- until [ -n "${SOCKETDEV_TOKEN:-}" ]; do sleep 2; done
|
||||
container:
|
||||
image: socketdev/socketcli:latest
|
||||
env:
|
||||
- name: SOCKET_DEV_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: amp-security-pipeline-secrets
|
||||
key: SOCKET_DEV_API_KEY
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
|
||||
Reference in New Issue
Block a user