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

Ability to use secrets and cms as helm values in ManagedCluster and MultiClusterService objects #817

Closed
pbasov opened this issue Dec 19, 2024 · 0 comments · Fixed by #823
Assignees

Comments

@pbasov
Copy link

pbasov commented Dec 19, 2024

In ClusterProfile and Profile objects templateResourceRefs allows templating values from Cluster labels, configmaps and secrets:

https://projectsveltos.github.io/sveltos/template/template_generic_examples/

In this example ManagedCluster we'd like to use secret as a source of values for motel chart:

apiVersion: hmc.mirantis.com/v1alpha1
kind: ManagedCluster
metadata:
  labels:
    motel: regional
  name: pbasov-aws-reg0
  namespace: hmc-system
spec:
  config:
...
  services:
  - name: motel-regional
    namespace: motel
    template: motel-regional
    values: |
      victoriametrics:
        vmauth:
          ingress:
            host: vmauth.pbasov-reg-0.project2a-dev.mirantis.com
          credentials:
            username: motel
            password: motel
@pbasov pbasov converted this from a draft issue Dec 19, 2024
@wahabmk wahabmk moved this from Todo to In Progress in Project 2A Dec 20, 2024
@wahabmk wahabmk linked a pull request Dec 20, 2024 that will close this issue
@alex-shl alex-shl added this to k0rdent Jan 3, 2025
@alex-shl alex-shl moved this to In Progress in k0rdent Jan 3, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in Project 2A Jan 9, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in k0rdent Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants