Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][opensearch] extrainitcontainers not rendered correctly #568

Closed
sandervandegeijn opened this issue Aug 2, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@sandervandegeijn
Copy link

sandervandegeijn commented Aug 2, 2024

Describe the bug
Extra initcontainers seem to be rendered incorrectly

To Reproduce

values.yaml:

os-master:
  ## Define master node configuration
  clusterName: &clusterName opensearch-k8s

  # Define what role this nodeGroup is part of
  nodeGroup: "master"

  # What is the role of the node
  roles:
    - master

  replicas: 3

  global:
    # Set if you want to change the default docker registry, e.g. a private one.
    dockerRegistry: *dockerRegistry
  
  extraInitContainers:
  - name: remove-java-heap-dumps
    image: x:1.32.0
    volumeMounts:
      - name: "opensearch-k8s-master"
        mountPath: /usr/share/opensearch/data
    command:
      - sh
      - -c
      - "rm -f /usr/share/opensearch/data/*.hprof"
    resources:
      requests:
        cpu: "50m"
        memory: "64Mi"
      limits:
        cpu: "200m"
        memory: "64Mi"

Renders as:

Notice the name missing, it's starting with the command

Expected behavior
Render extrainitcontainers properly.

Chart Name
opensearch 2.21.0

Screenshots

Host/Environment (please complete the following information):
➜ opensearch git:(main) ✗ helm version
version.BuildInfo{Version:"v3.15.3", GitCommit:"3bb50bbbdd9c946ba9989fbe4fb4104766302a64", GitTreeState:"clean", GoVersion:"go1.22.5"}

Additional context
N/A

@sandervandegeijn sandervandegeijn added bug Something isn't working untriaged Issues that have not yet been triaged labels Aug 2, 2024
@sandervandegeijn sandervandegeijn changed the title [BUG][opensearch] [BUG][opensearch] extrainitcontainers not rendered correctly Aug 2, 2024
@sandervandegeijn
Copy link
Author

Extremely strange, no edits: it renders differently. Maybe a caching problem

@gaiksaya gaiksaya removed the untriaged Issues that have not yet been triaged label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants