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

rancher2_app_v2 values not passed to sub charts #545

Closed
davidtron opened this issue Dec 10, 2020 · 1 comment · Fixed by #538
Closed

rancher2_app_v2 values not passed to sub charts #545

davidtron opened this issue Dec 10, 2020 · 1 comment · Fixed by #538

Comments

@davidtron
Copy link

davidtron commented Dec 10, 2020

We have a private registry that we are using for an airgapped install.
When we try to install rancher-monitoring using the terraform provider the systemDefaultRegistry is not passed through to the rancher-monitoring-crd subchart.

resource "rancher2_app_v2" "rancher-monitoring" {
  cluster_id = "blah"
  name = "rancher-monitoring"
  namespace = "cattle-monitoring-system"
  repo_name = "rancher-charts"
  chart_name = "rancher-monitoring"
  chart_version = "9.4.200"
  values = <<EOF
global:
  cattle:
    systemDefaultRegistry: "nexus3..."
EOF
}

We believe that this is due the fact that the provider only passes through cattle, clusterId, and clusterName to the subchart

@rawmind0
Copy link
Contributor

Issue reproduced. Added a patch to fix it at PR #538

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 a pull request may close this issue.

2 participants