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] Doc BYO template issue; missing label description #854

Open
foexle opened this issue Jan 2, 2025 · 0 comments
Open

[bug] Doc BYO template issue; missing label description #854

foexle opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@foexle
Copy link

foexle commented Jan 2, 2025

Describe the bug
Missing label description in the doc when "bring your own template".

The doc about BYO template describes how to create/define the CRDs but the service (flux) will not find those objects.
It seems the objects related to flux requires the "hmc" labels eq. to:

apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
labels:
hmc.mirantis.com/managed: "true"
name: custom-helm
namespace: hmc-system
spec:
interval: 10m0s
provider: generic
[...]

To Reproduce
Steps to reproduce the behavior:

  1. Follow the doc
  2. check the status
➜  helm-repos git:(main) ✗ kubectl get helmrepository -n hmc-system                   
NAME            URL                                  AGE    READY   STATUS
custom-helm     https://foexle.github.io/helm-hmc/   10m            
hmc-templates   oci://ghcr.io/mirantis/hmc/charts    6d2h 

➜  helm-repos git:(main) ✗ kubectl get HelmChart -n hmc-system     
NAME                                 CHART                          VERSION   SOURCE KIND      SOURCE NAME     AGE    READY   STATUS
aws-eks-0-0-2                        aws-eks                        0.0.2     HelmRepository   hmc-templates   6d2h   True    pulled 'aws-eks' chart with version '0.0.2'
aws-hosted-cp-0-0-3                  aws-hosted-cp                  0.0.3     HelmRepository   hmc-templates   6d2h   True    pulled 'aws-hosted-cp' chart with version '0.0.3'
aws-hosted-cp-extended               aws-hosted-cp-extended         *         HelmRepository   custom-helm     21m    False   failed to get source: HelmRepository.source.toolkit.fluxcd.io "custom-helm" not found

Expected behavior
The templates should be created/defined and clustertemplate status should be "valid"

@foexle foexle added the bug Something isn't working label Jan 2, 2025
@foexle foexle changed the title [bug] <your bug title here> [bug] Doc BYO template issue; missing label description Jan 2, 2025
@alex-shl alex-shl added this to k0rdent Jan 3, 2025
@alex-shl alex-shl moved this to Todo in k0rdent Jan 3, 2025
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: Todo
Development

No branches or pull requests

1 participant