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