Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2f2e2fe
Add imagePullSecrets in kube-agent chart
May 19, 2021
d24e347
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni May 20, 2021
98cbad7
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
May 21, 2021
8e11fb6
restructure .Values.imagePullSecrets
May 21, 2021
39bc509
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni May 25, 2021
e3ec651
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni May 25, 2021
49fdbb1
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni May 26, 2021
68d4605
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni Jul 22, 2021
f8cd81f
add linting and docs
Jul 22, 2021
d9074c6
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni Jul 26, 2021
b3ee1a8
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
webvictim Jul 26, 2021
912821b
default imagePullSecrets
amemni Jul 27, 2021
2f808b9
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
webvictim Jul 27, 2021
dfac1e0
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni Aug 5, 2021
7f7ba97
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni Aug 5, 2021
47fa9d2
dos2unix
Aug 6, 2021
241f3ca
Merge branch 'add-imgpullsecret-to-kubeagnt-chart' of github.com:amem…
Aug 6, 2021
bda9757
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni Aug 9, 2021
a69d6cc
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni Aug 10, 2021
6e51e24
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni Aug 10, 2021
56cd208
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
webvictim Aug 11, 2021
b306413
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
amemni Aug 12, 2021
0ae77b7
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
webvictim Aug 20, 2021
0867ad2
Merge branch 'master' into add-imgpullsecret-to-kubeagnt-chart
webvictim Aug 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/pages/kubernetes-access/helm/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1536,6 +1536,30 @@ You can override this to use your own Teleport image rather than a Teleport-publ
</TabItem>
</Tabs>

## `imagePullSecrets`

| Type | Default value | Can be used in `custom` mode? |
| - | - | - |
| `list` | `[]` | ✅ |

[Kubernetes reference](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod)

A list of secrets containing authorization tokens which can be optionally used to access a private Docker registry.

<Tabs>
<TabItem label="values.yaml">
```yaml
imagePullSecrets:
- name: my-docker-registry-key
```
</TabItem>
<TabItem label="--set">
```shell
--set "imagePullSecrets[0].name=my-docker-registry-key"
```
</TabItem>
</Tabs>

## `replicaCount`

| Type | Default value |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
authToken: auth-token
proxyAddr: proxy.example.com:3080
roles: kube
kubeClusterName: test-kube-cluster
image: quay.io/gravitational/teleport
imagePullSecrets:
- name: myRegistryKeySecretName
4 changes: 4 additions & 0 deletions examples/chart/teleport-kube-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ spec:
tolerations:
{{- toYaml .Values.tolerations | nindent 6 }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 6 }}
{{- end }}
{{- if .Values.initContainers }}
initContainers: {{- toYaml .Values.initContainers | nindent 6 }}
{{- if .Values.resources }}
Expand Down
5 changes: 5 additions & 0 deletions examples/chart/teleport-kube-agent/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@
"type": "string",
"default": "quay.io/gravitational/teleport"
},
"imagePullSecrets": {
"$id": "#/properties/imagePullSecrets",
"type": "array",
"default": []
},
"replicaCount": {
"$id": "#/properties/replicaCount",
"type": "integer",
Expand Down
3 changes: 3 additions & 0 deletions examples/chart/teleport-kube-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ storage:
# Container image for the agent. Since this runs without the auth_service, we
# don't need the enterprise version.
image: quay.io/gravitational/teleport
# Optional array of imagePullSecrets, to use when pulling from a private registry
imagePullSecrets: []
# - name: myRegistryKeySecretName
# Number of replicas for the agent deployment.
replicaCount: 1
# (optional) Override the name of the ClusterRole used by the agent's service account.
Expand Down