Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ spec:
env:
- name: NEW_RELIC_APP_NAME
value: "Credential Engine Sandbox"
- name: ARGO_WORKFLOWS_TOKEN_PATH
value: "/var/run/secrets/argo-workflows/token"
ports:
- containerPort: 9292
volumeMounts:
- name: argo-workflows-token
mountPath: /var/run/secrets/argo-workflows
readOnly: true
envFrom:
- secretRef:
name: app-secrets # DB credentials, APP_KEY, etc.
Expand All @@ -52,6 +58,13 @@ spec:
limits:
cpu: "1000m"
memory: "1024Mi"
volumes:
- name: argo-workflows-token
secret:
secretName: argo-workflows-token
items:
- key: token
path: token

---
apiVersion: v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ spec:
value: "Credential Engine Sandbox"
- name: PATH
value: "/app/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
- name: ARGO_WORKFLOWS_TOKEN_PATH
value: "/var/run/secrets/argo-workflows/token"
command: ["/bin/bash","-lc"]
args:
- |
Expand All @@ -51,10 +53,21 @@ spec:
name: app-secrets
- configMapRef:
name: main-app-config
volumeMounts:
- name: argo-workflows-token
mountPath: /var/run/secrets/argo-workflows
readOnly: true
resources:
requests:
cpu: "256m"
memory: "2Gi"
limits:
cpu: "1000m"
memory: "2Gi"
memory: "2Gi"
volumes:
- name: argo-workflows-token
secret:
secretName: argo-workflows-token
items:
- key: token
path: token
Loading