Add teleport agent update
This commit is contained in:
@@ -42,8 +42,9 @@ spec:
|
||||
{{- if .Values.hostAliases }}
|
||||
hostAliases: {{- toYaml .Values.hostAliases | nindent 8 }}
|
||||
{{- end }}
|
||||
securityContext:
|
||||
fsGroup: 9807
|
||||
{{- if .Values.podSecurityContext }}
|
||||
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8}}
|
||||
{{- end }}
|
||||
{{- if or .Values.affinity (gt (int $replicaCount) 1) }}
|
||||
affinity:
|
||||
{{- if .Values.affinity }}
|
||||
@@ -106,6 +107,11 @@ spec:
|
||||
name: "teleport-tls-ca"
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
{{- if contains "jamf" (.Values.roles | toString) }}
|
||||
- mountPath: /etc/teleport-jamf-api-credentials
|
||||
name: "jamf-api-credentials"
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
{{- if .Values.extraVolumeMounts }}
|
||||
{{- toYaml .Values.extraVolumeMounts | nindent 8 }}
|
||||
{{- end }}
|
||||
@@ -142,6 +148,8 @@ spec:
|
||||
{{- if .Values.updater.enabled }}
|
||||
- name: TELEPORT_EXT_UPGRADER
|
||||
value: kube
|
||||
- name: TELEPORT_EXT_UPGRADER_VERSION
|
||||
value: {{ include "teleport-kube-agent.version" . }}
|
||||
{{- end }}
|
||||
{{- if .Values.tls.existingCASecretName }}
|
||||
- name: SSL_CERT_FILE
|
||||
@@ -204,8 +212,16 @@ spec:
|
||||
name: "teleport-tls-ca"
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
{{- if contains "jamf" (.Values.roles | toString) }}
|
||||
- mountPath: /etc/teleport-jamf-api-credentials
|
||||
name: "jamf-api-credentials"
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
{{- if .Values.extraVolumeMounts }}
|
||||
{{- toYaml .Values.extraVolumeMounts | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.extraContainers }}
|
||||
{{- toYaml .Values.extraContainers | nindent 6 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: "config"
|
||||
@@ -223,6 +239,11 @@ spec:
|
||||
secret:
|
||||
secretName: {{ .Values.tls.existingCASecretName }}
|
||||
{{- end }}
|
||||
{{- if contains "jamf" (.Values.roles | toString) }}
|
||||
- name: "jamf-api-credentials"
|
||||
secret:
|
||||
secretName: {{ .Values.jamfCredentialsSecret.name }}
|
||||
{{- end }}
|
||||
{{- if .Values.extraVolumes }}
|
||||
{{- toYaml .Values.extraVolumes | nindent 6 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user