Skip to content

feat(chart): allow input config and extraArgs - #344

Merged
stefanprodan merged 1 commit into
stefanprodan:masterfrom
toyamagu-2021:feat-allow-input-config-and-extraArgs
Mar 26, 2024
Merged

stefanprodan merged 1 commit into
stefanprodan:masterfrom
toyamagu-2021:feat-allow-input-config-and-extraArgs

Conversation

@toyamagu-2021

@toyamagu-2021 toyamagu-2021 commented Feb 27, 2024 •

Copy link
Copy Markdown
Contributor

Signed-off-by: toyamagu2021 toyamagu2021@gmail.com

Motivation

  • Allow input config and config-path
  • Allow input extraArgs to input arbitral options

Modification

  • add config.name, config.path, and extraArgs to chart

Verification

  • config.name, config.path
config:
  path: "."
  name: "config.yaml"
$ helm template . -s templates/deployment.yaml
          command:
            - ./podinfo
            - --port=9898
            - --cert-path=/data/cert
            - --port-metrics=9797
            - --grpc-port=9999
            - --grpc-service-name=podinfo
            - --level=info
            - --random-delay=false
            - --random-error=false
            - --config-path=.
            - --config=config.yaml
  • extraArgs
extraArgs:
- --test=test
$ helm template . -s templates/deployment.yaml
          command:
            - ./podinfo
            - --port=9898
            - --cert-path=/data/cert
            - --port-metrics=9797
            - --grpc-port=9999
            - --grpc-service-name=podinfo
            - --level=info
            - --random-delay=false
            - --random-error=false
            - --test=test

@toyamagu-2021
toyamagu-2021 force-pushed the feat-allow-input-config-and-extraArgs branch from dda41cf to d0aceab Compare February 27, 2024 15:17
@toyamagu-2021
toyamagu-2021 marked this pull request as ready for review February 27, 2024 15:18
@mhulscher

Copy link
Copy Markdown
Contributor

I am looking for this functionality as well :) Is there anything preventing this from being merged?

@stefanprodan

Copy link
Copy Markdown
Owner

@toyamagu-2021 can you rebase with master and resolve the conflicts please

Signed-off-by: toyamagu2021 <toyamagu2021@gmail.com>
@toyamagu-2021
toyamagu-2021 force-pushed the feat-allow-input-config-and-extraArgs branch from d0aceab to d7c1bf0 Compare March 26, 2024 00:28
@toyamagu-2021

Copy link
Copy Markdown
Contributor Author

@stefanprodan
thanks! rebased

@stefanprodan
stefanprodan merged commit d562a2a into stefanprodan:master Mar 26, 2024
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.

3 participants