-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: preprovisioned service account unable to be included in deployme…
…nt (#74) #71 excludes serviceAccounts in the deployment template entirely if `serviceAccount.enabled` is set to false, meaning it defaults to "default" for the deployment. Previously, we could create a service account that was named identical to `fullname`, i.e., either the release name or an override via values, and have that SA be used for the pod. This PR re-adds the ability to use service accounts in the deployment *without* creating one, and also extends upon the pre-#71 behavior of allowing you to set the name of the service account to use via `serviceAccount.name`. The property is not set in the chart's default values, and defaults to the `fullname` behavior of < v0.9.4. Additionally, we also swapped out a bunch of "templates" for "includes", as per https://helm.sh/docs/howto/charts_tips_and_tricks/#using-the-include-function. --------- Signed-off-by: Alexander Bartolomey <[email protected]>
- Loading branch information
Showing
5 changed files
with
52 additions
and
41 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
apiVersion: v1 | ||
name: athens-proxy | ||
version: 0.10.0 | ||
version: 0.11.0 | ||
appVersion: v0.14.0 | ||
description: The proxy server for Go modules | ||
icon: https://raw.githubusercontent.com/gomods/athens/main/docs/static/banner.png | ||
keywords: | ||
- Golang | ||
- Package Management | ||
- Goproxy | ||
- Athens | ||
- Golang | ||
- Package Management | ||
- Goproxy | ||
- Athens | ||
home: https://github.com/gomods/athens-charts | ||
sources: | ||
- https://github.com/gomods/athens-charts | ||
maintainers: | ||
- name: rimusz | ||
email: [email protected] | ||
- name: arschles | ||
email: [email protected] | ||
- name: DrPsychick | ||
email: [email protected] | ||
- name: nrwiersma | ||
email: [email protected] | ||
- name: rimusz | ||
email: [email protected] | ||
- name: arschles | ||
email: [email protected] | ||
- name: DrPsychick | ||
email: [email protected] | ||
- name: nrwiersma | ||
email: [email protected] | ||
engine: gotpl |
This file contains 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 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 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 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