Skip to content

feat: add args support to helm chart#197

Merged
rowansmithau merged 2 commits into
mainfrom
rowan/helm_args
Jun 16, 2026
Merged

feat: add args support to helm chart#197
rowansmithau merged 2 commits into
mainfrom
rowan/helm_args

Conversation

@rowansmithau

Copy link
Copy Markdown
Member

adds support for specifying runtime arguments via the helm chart in case they are not exposed as env vars natively in the chart.

Current state:

coder@white-meadowlark-38:~/coder-logstream-kube$ helm template coder-logstream-kube helm | grep -A10 'containers:'
      containers:
        - name: coder-logstream-kube
          image: "ghcr.io/coder/coder-logstream-kube:0.1.0"
          imagePullPolicy: IfNotPresent
          command:
            - /coder-logstream-kube
          resources: 
            {}
          env:
            - name: CODER_URL
              value: 

And with this added:

coder@white-meadowlark-38:~/coder-logstream-kube$ helm template coder-logstream-kube helm/ --set 'args[0]=-l' --set 'args[1]=com.coder.deployment=dev-coder.mcrn.cc' | grep -A10 'containers:'
      containers:
        - name: coder-logstream-kube
          image: "ghcr.io/coder/coder-logstream-kube:0.1.0"
          imagePullPolicy: IfNotPresent
          command:
            - /coder-logstream-kube
          args:
            - -l
            - com.coder.deployment=dev-coder.mcrn.cc
          resources: 
            {}

@rowansmithau rowansmithau self-assigned this Jun 16, 2026
@rowansmithau rowansmithau marked this pull request as ready for review June 16, 2026 05:14
@rowansmithau rowansmithau merged commit 9ff09a1 into main Jun 16, 2026
4 checks passed
@rowansmithau rowansmithau deleted the rowan/helm_args branch June 16, 2026 05:42
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.

2 participants