Skip to content

Helm Chart support #1118

@softcane

Description

@softcane

I'm just referring to this thread. #1067 (comment)

->templates
-->cluster-manager-helm-release.yaml(This yaml has the HelmRelease which installs cluster-manager helmchart)
-->rotate-token-cron-job.yaml(This yaml creates a cronjob which runs every 40 minutes generates the required token by running the command:"kubectl create token agent-registration-bootstrap --namespace open-cluster-management" and then generate a kubeconfig and store it somewhere)
-->cluster-manager-post-install.yaml(This yaml has a post install job which creates a initial job from the cronjob since the cronjob only runs every 40 minutes)
->Chart.yaml

custom-ocm-managed-helm(custom helm chart)
->templates
-->klusterlet-helm-release.yaml(This yaml has the HelmRelease which installs klusterlet helmchart)
-->klusterlet-post-install.yaml(This yaml has a post install job which creates the required secret(bootstrap-hub-kubeconfig) after retreiving the kubeconfig generated by hub from storage)
->chart.yaml

When installing the custom-ocm-hub-helm chart, it will generate the kubeconfig and store it in the storage.
While installing the custom-ocm-managed-helm, it will retrieve the secret from storage and create the required secret(bootstrap-hub-kubeconfig).

Where can I find these custom charts? If it's not possible to share the link, then at least can you paste the spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions