|
19 | 19 | runAsNonRoot: true |
20 | 20 | containers: |
21 | 21 | # ----------------------------------------------------- |
22 | | - # ScoutAPM Container |
23 | | - # ----------------------------------------------------- |
24 | | - - name: scoutapm |
25 | | - image: "scoutapp/scoutapm:version-1.4.0" |
26 | | - imagePullPolicy: IfNotPresent |
27 | | - # Replace command with one that will shut down on a TERM signal |
28 | | - # The ./core-agent start command line is from the scoutapm docker image |
29 | | - command: |
30 | | - - "sh" |
31 | | - - "-c" |
32 | | - - >- |
33 | | - trap './core-agent shutdown --tcp 0.0.0.0:6590' TERM; |
34 | | - ./core-agent start --daemonize false --log-level debug --tcp 0.0.0.0:6590 & |
35 | | - wait $! |
36 | | - livenessProbe: |
37 | | - exec: |
38 | | - command: |
39 | | - - "sh" |
40 | | - - "-c" |
41 | | - - "./core-agent probe --tcp 0.0.0.0:6590 | grep -q 'Agent found'" |
42 | | - securityContext: |
43 | | - readOnlyRootFilesystem: true |
44 | | - runAsUser: 65534 # "nobody" user by default |
45 | | - runAsGroup: 65534 # "nogroup" group by default |
46 | | - # ----------------------------------------------------- |
47 | | - # Datatracker Container |
| 22 | + # Auth Container |
48 | 23 | # ----------------------------------------------------- |
49 | | - - name: datatracker |
| 24 | + - name: auth |
50 | 25 | image: "ghcr.io/ietf-tools/datatracker:$APP_IMAGE_TAG" |
51 | 26 | imagePullPolicy: Always |
52 | 27 | ports: |
|
72 | 47 | - name: "DEPLOY_UID" |
73 | 48 | value: "$DEPLOY_UID" |
74 | 49 | envFrom: |
75 | | - - configMapRef: |
76 | | - name: django-config |
| 50 | + - secretRef: |
| 51 | + name: dt-secrets-env |
77 | 52 | securityContext: |
78 | 53 | allowPrivilegeEscalation: false |
79 | 54 | capabilities: |
|
82 | 57 | readOnlyRootFilesystem: true |
83 | 58 | runAsUser: 1000 |
84 | 59 | runAsGroup: 1000 |
| 60 | + # ----------------------------------------------------- |
| 61 | + # ScoutAPM Container |
| 62 | + # ----------------------------------------------------- |
| 63 | + - name: scoutapm |
| 64 | + image: "scoutapp/scoutapm:version-1.4.0" |
| 65 | + imagePullPolicy: IfNotPresent |
| 66 | + # Replace command with one that will shut down on a TERM signal |
| 67 | + # The ./core-agent start command line is from the scoutapm docker image |
| 68 | + command: |
| 69 | + - "sh" |
| 70 | + - "-c" |
| 71 | + - >- |
| 72 | + trap './core-agent shutdown --tcp 0.0.0.0:6590' TERM; |
| 73 | + ./core-agent start --daemonize false --log-level debug --tcp 0.0.0.0:6590 & |
| 74 | + wait $! |
| 75 | + livenessProbe: |
| 76 | + exec: |
| 77 | + command: |
| 78 | + - "sh" |
| 79 | + - "-c" |
| 80 | + - "./core-agent probe --tcp 0.0.0.0:6590 | grep -q 'Agent found'" |
| 81 | + securityContext: |
| 82 | + readOnlyRootFilesystem: true |
| 83 | + runAsUser: 65534 # "nobody" user by default |
| 84 | + runAsGroup: 65534 # "nogroup" group by default |
85 | 85 | volumes: |
86 | 86 | # To be overriden with the actual shared volume |
87 | 87 | - name: dt-vol |
|
0 commit comments