diff --git a/platform/dynamic-runner/deployment.yaml b/platform/dynamic-runner/deployment.yaml index d33a0b8..259d0af 100644 --- a/platform/dynamic-runner/deployment.yaml +++ b/platform/dynamic-runner/deployment.yaml @@ -50,9 +50,9 @@ spec: - name: NATS_CA_FILE value: /run/trust/ca.pem - name: NATS_PASSWORD_FILE - value: /run/secrets/nats-password + value: /run/dynamic-runner-secrets/nats-password - name: WEBHOOK_SECRET_FILE - value: /run/secrets/webhook-secret + value: /run/dynamic-runner-secrets/webhook-secret ports: - name: http containerPort: 8787 @@ -86,7 +86,7 @@ spec: type: RuntimeDefault volumeMounts: - name: secret - mountPath: /run/secrets + mountPath: /run/dynamic-runner-secrets readOnly: true - name: trust mountPath: /run/trust diff --git a/platform/dynamic-runner/pod-worker-deployment.yaml b/platform/dynamic-runner/pod-worker-deployment.yaml index 4601418..1ceccaf 100644 --- a/platform/dynamic-runner/pod-worker-deployment.yaml +++ b/platform/dynamic-runner/pod-worker-deployment.yaml @@ -48,7 +48,7 @@ spec: - name: NATS_CA_FILE value: /run/trust/ca.pem - name: NATS_PASSWORD_FILE - value: /run/secrets/nats-worker-password + value: /run/dynamic-runner-secrets/nats-worker-password - name: RUNNER_NAMESPACE valueFrom: fieldRef: @@ -80,7 +80,7 @@ spec: type: RuntimeDefault volumeMounts: - name: secret - mountPath: /run/secrets + mountPath: /run/dynamic-runner-secrets readOnly: true - name: trust mountPath: /run/trust