Skip to content

Commit 47679e5

Browse files
maksymlumenclaude
andcommitted
Inject --name, --version, --namespace from chart values (0.1.69)
Manual helm installs were missing required --name and --version flags. The template now derives them from fullnameOverride and image.tag, and passes --namespace from the helm release namespace. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9e80769 commit 47679e5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

charts/tinysystems-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.1.68
16+
version: 0.1.69
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.

charts/tinysystems-operator/templates/deployment.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ spec:
2626
{{- end }}
2727
spec:
2828
containers:
29-
- args: {{- toYaml .Values.controllerManager.manager.args | nindent 8 }}
29+
- args:
30+
{{- toYaml .Values.controllerManager.manager.args | nindent 8 }}
31+
- --name={{ .Values.controllerManager.manager.moduleName | default (include "tinysystems-operator.fullname" .) }}
32+
- --version={{ .Values.controllerManager.manager.moduleVersion | default .Values.controllerManager.manager.image.tag | default .Chart.AppVersion }}
33+
- --namespace={{ .Release.Namespace }}
3034
command:
3135
- /manager
3236
ports:

0 commit comments

Comments
 (0)