Skip to content

Support --namespace with service-account with score-k8s 0.5.2#17

Merged
mathieu-benoit merged 1 commit intomainfrom
namespace
Jun 13, 2025
Merged

Support --namespace with service-account with score-k8s 0.5.2#17
mathieu-benoit merged 1 commit intomainfrom
namespace

Conversation

@mathieu-benoit
Copy link
Copy Markdown
Contributor

@mathieu-benoit mathieu-benoit commented Jun 13, 2025

Take into account --namespace based on score-spec/score-k8s#183 since score-k8s version 0.5.2.

Note: if these new versions of these patch templates are used with score-k8s version < 0.5.2, this error message below will happen with score-k8s generate:

Error: failed to patch template 1: failed to execute template: template: :1:17: executing "" at <.Namespace>: can't evaluate field Namespace in type patching.patchTemplateInput

Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr>
@mathieu-benoit mathieu-benoit self-assigned this Jun 13, 2025
@mathieu-benoit mathieu-benoit merged commit 9324738 into main Jun 13, 2025
2 checks passed
@mathieu-benoit mathieu-benoit deleted the namespace branch June 13, 2025 20:57
@mathieu-benoit mathieu-benoit changed the title --namespace Support --namespace with service-account with score-k8s 0.5.2 Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant