diff --git a/charts/tibiadata-api-go/Chart.yaml b/charts/tibiadata-api-go/Chart.yaml index 334a8df..468b87c 100644 --- a/charts/tibiadata-api-go/Chart.yaml +++ b/charts/tibiadata-api-go/Chart.yaml @@ -24,7 +24,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.2.5 +version: 1.2.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/tibiadata-api-go/templates/deployment.yaml b/charts/tibiadata-api-go/templates/deployment.yaml index 9daf7ff..a3e29fd 100644 --- a/charts/tibiadata-api-go/templates/deployment.yaml +++ b/charts/tibiadata-api-go/templates/deployment.yaml @@ -51,6 +51,22 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} env: + - name: K8S_NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: K8S_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: K8S_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: K8S_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid {{- toYaml .Values.env | nindent 12 }} envFrom: - configMapRef: