Skip to content

Commit 7287b4d

Browse files
authored
Add environment variables for LS pod name and uid (#140)
1 parent 7e22150 commit 7287b4d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

charts/localstack/templates/deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ spec:
143143
valueFrom:
144144
fieldRef:
145145
fieldPath: status.podIP
146+
- name: LOCALSTACK_K8S_POD_UID
147+
valueFrom:
148+
fieldRef:
149+
fieldPath: metadata.uid
150+
- name: LOCALSTACK_K8S_POD_NAME
151+
valueFrom:
152+
fieldRef:
153+
fieldPath: metadata.name
146154
{{- if include "localstack.lambda.labels" . }}
147155
- name: LAMBDA_K8S_LABELS
148156
value: {{ include "localstack.lambda.labels" . | quote }}

0 commit comments

Comments
 (0)