-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add support for PDB with the teleport-cluster helm chart #7138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
webvictim
merged 18 commits into
gravitational:master
from
stefansedich:teleport-cluster-pdb
Aug 19, 2021
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
058e996
Add support for PDB with the teleport-cluster helm chart
stefansedich b54637d
Better apiVersion
stefansedich 51d12aa
Add to schema
stefansedich 6e26403
Merge branch 'master' of https://github.com/gravitational/teleport in…
stefansedich b4ab200
docs
stefansedich 5610502
Merge branch 'master' of https://github.com/gravitational/teleport in…
stefansedich 7ede544
Add lint test
stefansedich 4c9389a
Update examples/chart/teleport-cluster/values.schema.json
stefansedich 07ac900
Merge branch 'master' into teleport-cluster-pdb
stefansedich f620142
Set chartmode
stefansedich b8fda6e
Merge branch 'teleport-cluster-pdb' of github.com:stefansedich/telepo…
stefansedich b5cab27
Merge branch 'master' of https://github.com/gravitational/teleport in…
stefansedich 98eea14
Merge branch 'master' into teleport-cluster-pdb
webvictim f14f031
Merge branch 'master' into teleport-cluster-pdb
stefansedich b1cb431
Merge branch 'master' into teleport-cluster-pdb
webvictim 8fa2e57
Merge branch 'master' into teleport-cluster-pdb
stefansedich 1082a67
Merge branch 'master' into teleport-cluster-pdb
webvictim 5c760c5
Merge branch 'master' into teleport-cluster-pdb
webvictim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| clusterName: helm-lint | ||
| chartMode: custom | ||
| highAvailability: | ||
|
webvictim marked this conversation as resolved.
|
||
| replicaCount: 3 | ||
| podDisruptionBudget: | ||
| enabled: true | ||
| minAvailable: 2 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| {{- if .Values.highAvailability.podDisruptionBudget.enabled }} | ||
| {{- if .Capabilities.APIVersions.Has "policy/v1" }} | ||
| apiVersion: policy/v1 | ||
| {{- else }} | ||
| apiVersion: policy/v1beta1 | ||
| {{- end }} | ||
| kind: PodDisruptionBudget | ||
| metadata: | ||
| name: {{ .Release.Name }} | ||
| namespace: {{ .Release.Namespace }} | ||
|
stefansedich marked this conversation as resolved.
|
||
| labels: | ||
| app: {{ .Release.Name }} | ||
| spec: | ||
| minAvailable: {{ .Values.highAvailability.podDisruptionBudget.minAvailable }} | ||
| selector: | ||
| matchLabels: | ||
| app: {{ .Release.Name }} | ||
| {{- end }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs-wise this is great thanks for the helpful reference update!