fix(helm): add missing serviceaccount.yaml template#744
Merged
Conversation
Author
|
@camathieu @bodji Slightly odd that the frontend tests would fail when I've not changed anything of the frontend. Could it be a transient failure and the tests just need rerunning? |
Member
|
I'll investigate the flaky test. |
bc569c9 to
a6165b9
Compare
Member
|
Let's merge, @bodji told me it's all good :) |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #743
What
Add the missing
serviceaccount.yamltemplate so thatserviceAccount.create: trueactually creates a ServiceAccount resource.Why
The chart has
serviceAccount.createin values and aplik.serviceAccountNamehelper in_helpers.tpl, but no template to create the SA. Settingcreate: truecauses the Deployment to reference a non-existent SA, failing pod creation.Changes
charts/plik/templates/serviceaccount.yaml— standard Helm SA templatecharts/plik/values.yaml— addedserviceAccount.automountfield (default:false)charts/plik/CHANGELOG.md— added fix to[Unreleased]charts/plik/ARCHITECTURE.md— addedserviceaccount.yamlto structure listingcharts/plik/README.mdviamake helm-docsTesting
Bug reproduction (Kind cluster, chart v1.4.2)
Result: Pods fail with
error looking up service account plik-test/plik: serviceaccount "plik" not foundFix verification (Kind cluster, local chart)
Result: ✅ Deployment available, pods running, ServiceAccount created
Functional verification (CLI smoke test against Kind deployment)
Result: ✅ File uploaded and downloaded successfully
Template verification
Project tests
Environment