From fc6719b019ddd3ab0051fe223aa6f397ff775c0a Mon Sep 17 00:00:00 2001 From: Puru <5674762+tuladhar@users.noreply.github.com> Date: Tue, 7 Nov 2023 21:27:28 +0545 Subject: [PATCH] Update --- .../templates/tbot-deployment.yaml | 76 +++++++++---------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/helm/teleport-operator/templates/tbot-deployment.yaml b/helm/teleport-operator/templates/tbot-deployment.yaml index 6f122373..3b44ee5f 100644 --- a/helm/teleport-operator/templates/tbot-deployment.yaml +++ b/helm/teleport-operator/templates/tbot-deployment.yaml @@ -22,45 +22,45 @@ spec: runAsGroup: {{ .Values.pod.group.id }} {{- with .Values.podSecurityContext }} {{- . | toYaml | nindent 8 }} - {{- end }} + {{- end }} containers: - - name: tbot - image: public.ecr.aws/gravitational/teleport:14.1.1 - command: - - tbot - args: - - start - - -c - - /config/tbot.yaml - env: - # POD_NAMESPACE is required for the kubernetes_secret` destination - # type to work correctly. - - name: POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - # KUBERNETES_TOKEN_PATH specifies the path to the service account - # JWT to use for joining. - # This path is based on the configuration of the volume and - # volumeMount. - - name: KUBERNETES_TOKEN_PATH - value: /var/run/secrets/tokens/join-sa-token - # TELEPORT_ANONYMOUS_TELEMETRY enables the submission of anonymous - # usage telemetry. This helps us shape the future development of - # `tbot`. You can disable this by omitting this. - - name: TELEPORT_ANONYMOUS_TELEMETRY - value: "1" - volumeMounts: - - mountPath: /config - name: config - - mountPath: /var/run/secrets/tokens - name: join-sa-token - securityContext: - {{- with .Values.containerSecurityContext }} - {{- . | toYaml | nindent 10 }} - {{- end }} - resources: - {{- toYaml .Values.resources | nindent 10 }} + - name: tbot + image: public.ecr.aws/gravitational/teleport:14.1.1 + command: + - tbot + args: + - start + - -c + - /config/tbot.yaml + env: + # POD_NAMESPACE is required for the kubernetes_secret` destination + # type to work correctly. + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + # KUBERNETES_TOKEN_PATH specifies the path to the service account + # JWT to use for joining. + # This path is based on the configuration of the volume and + # volumeMount. + - name: KUBERNETES_TOKEN_PATH + value: /var/run/secrets/tokens/join-sa-token + # TELEPORT_ANONYMOUS_TELEMETRY enables the submission of anonymous + # usage telemetry. This helps us shape the future development of + # `tbot`. You can disable this by omitting this. + - name: TELEPORT_ANONYMOUS_TELEMETRY + value: "1" + volumeMounts: + - mountPath: /config + name: config + - mountPath: /var/run/secrets/tokens + name: join-sa-token + securityContext: + {{- with .Values.containerSecurityContext }} + {{- . | toYaml | nindent 10 }} + {{- end }} + resources: + {{- toYaml .Values.resources | nindent 10 }} serviceAccountName: {{ include "resource.default.name" . }} volumes: - name: config