Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrato authored and github-actions committed Dec 2, 2024
1 parent 2869536 commit db32f88
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,26 @@ put on the `Pod` resources created by the chart.
`annotations.serviceAccount` contains the Kubernetes annotations
put on the `Deployment` resource created by the chart.

## `annotations`

### `labels.deployment`

| Type | Default |
|------|---------|
| `object` | `{}` |

`labels.deployment` contains the Kubernetes labels
put on the `Deployment` resource created by the chart.

### `labels.pod`

| Type | Default |
|------|---------|
| `object` | `{}` |

`labels.pod` contains the Kubernetes labels
put on the `Pod` resources created by the chart.

## `serviceAccount`

### `serviceAccount.create`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ labels:
pod:
kubernetes.io/pod: "test-label"
kubernetes.io/pod-different: 4
teleportAddress: "example.teleport.sh:443"
token: "my-operator-bot"
teleportClusterName: "example.teleport.sh"
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
{{- if .Values.labels.deployment }}
{{- toYaml .Values.labels.deployment | nindent 4 }}
{{- end }}
{{- if .Values.annotations.deployment }}
annotations: {{- toYaml .Values.annotations.deployment | nindent 4 }}
{{- end }}
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tests:

- it: sets labels when specified
values:
- ../.lint/deployment.yaml
- ../.lint/labels.yaml
asserts:
# Pod labels
- equal:
Expand Down
2 changes: 1 addition & 1 deletion examples/chart/teleport-cluster/tests/predeploy_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ tests:
jobPod:
foo: bar
baz: override-me
auth:
proxy:
extraLabels:
jobPod:
baz: overridden
Expand Down

0 comments on commit db32f88

Please sign in to comment.