Skip to content

Commit

Permalink
[v9] helm: Backport chart changes from unit test addition (#11336)
Browse files Browse the repository at this point in the history
  • Loading branch information
webvictim authored Mar 22, 2022
1 parent ebc3406 commit f303f41
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clusterName: test-standalone-cluster
chartMode: standalone
standalone:
existingClaimName: teleport-storage
volumeSize: 50Gi
acme: true
acmeEmail: [email protected]
labels:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clusterName: test-standalone-cluster
chartMode: standalone
standalone:
volumeSize: 50Gi
existingClaimName: teleport-storage
acme: true
acmeEmail: [email protected]
labels:
Expand Down
2 changes: 1 addition & 1 deletion examples/chart/teleport-cluster/.lint/volumes.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clusterName: helm-lint
extraVolumeMounts:
- name: "my-mount"
path: "/path/to/mount"
mountPath: "/path/to/mount"
extraVolumes:
- name: "my-mount"
secret:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
authToken: auth-token
proxyAddr: proxy.example.com:3080
roles: kube
kubeClusterName: test-kube-cluster
existingDataVolume: teleport-kube-agent-data
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
authToken: auth-token
proxyAddr: proxy.example.com:3080
kubeClusterName: test-kube-cluster-name
storage:
enabled: true
storageClassName: "aws-gp2"
imagePullPolicy: Always
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
authToken: auth-token
proxyAddr: proxy.example.com:3080
roles: kube
kubeClusterName: test-kube-cluster
imagePullPolicy: Always
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
authToken: auth-token
proxyAddr: proxy.example.com:3080
roles: kube
kubeClusterName: test-kube-cluster
serviceAccountName: teleport-kube-agent-sa
2 changes: 1 addition & 1 deletion examples/chart/teleport-kube-agent/.lint/volumes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ roles: kube
kubeClusterName: test-kube-cluster
extraVolumeMounts:
- name: "my-mount"
path: "/path/to/mount"
mountPath: "/path/to/mount"
extraVolumes:
- name: "my-mount"
secret:
Expand Down
3 changes: 3 additions & 0 deletions examples/chart/teleport-kube-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ spec:
containers:
- name: "teleport"
image: "{{ if .Values.enterprise }}{{ .Values.enterpriseImage }}{{ else }}{{ .Values.image }}{{ end }}:{{ .teleportVersion }}"
{{- if .Values.imagePullPolicy }}
imagePullPolicy: {{ toYaml .Values.imagePullPolicy }}
{{- end }}
{{- if .Values.extraEnv }}
env:
{{- toYaml .Values.extraEnv | nindent 10 }}
Expand Down
3 changes: 3 additions & 0 deletions examples/chart/teleport-kube-agent/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ spec:
containers:
- name: "teleport"
image: "{{ if .Values.enterprise }}{{ .Values.enterpriseImage }}{{ else }}{{ .Values.image }}{{ end }}:{{ .teleportVersion }}"
{{- if .Values.imagePullPolicy }}
imagePullPolicy: {{ toYaml .Values.imagePullPolicy }}
{{- end }}
{{- if .Values.extraEnv }}
env:
{{- toYaml .Values.extraEnv | nindent 10 }}
Expand Down
1 change: 1 addition & 0 deletions examples/chart/teleport-kube-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ insecureSkipProxyTLSVerify: false

# If set, will use an existing volume mounted via extraVolumes
# as the Teleport data directory.
# If anything is set under the "storage" key, this will be ignored.
existingDataVolume: ""

# If true, create & use Pod Security Policy resources
Expand Down

0 comments on commit f303f41

Please sign in to comment.