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

Wrong repos for edge clusters example #89

Open
e-minguez opened this issue Apr 2, 2024 · 0 comments
Open

Wrong repos for edge clusters example #89

e-minguez opened this issue Apr 2, 2024 · 0 comments

Comments

@e-minguez
Copy link
Contributor

e-minguez commented Apr 2, 2024

It should be charts instead.

Same for the endpoint copier operator.

Also the targetNamespaces should be different (in fact, metallb will complain about this IIRC as there is a webhook that prevents ipaddresspool on other namespaces than the metallb-system)

Something like this:

        storage:
          files:
            - path: /var/metallb-endpointcopier-operators.yaml
              overwrite: true
              contents:
                inline: |
                  apiVersion: helm.cattle.io/v1
                  kind: HelmChart
                  metadata:
                    name: metallb
                    namespace: kube-system
                  spec:
                    repo: https://suse-edge.github.io/charts
                    chart: metallb
                    targetNamespace: metallb-system
                    version: 0.14.3
                    createNamespace: true
                  ---
                  apiVersion: helm.cattle.io/v1
                  kind: HelmChart
                  metadata:
                    name: endpoint-copier-operator
                    namespace: kube-system
                  spec:
                    repo: https://suse-edge.github.io/charts
                    chart: endpoint-copier-operator
                    targetNamespace: endpoint-copier-operator
                    version: 0.2.0
                    createNamespace: true
            - path: /var/metallb-cr.yaml
              overwrite: true
              contents:
                inline: |
                  apiVersion: metallb.io/v1beta1
                  kind: IPAddressPool
                  metadata:
                    name: kubernetes-vip-ip-pool
                    namespace: metallb-system
                  spec:
                    addresses:
                      - 10.85.17.9/32
                    serviceAllocation:
                      priority: 100
                      namespaces:
                        - default
                  ---
                  apiVersion: metallb.io/v1beta1
                  kind: L2Advertisement
                  metadata:
                    name: ip-pool-l2-adv
                    namespace: metallb-system
                  spec:
                    ipAddressPools:
                      - kubernetes-vip-ip-pool
@e-minguez e-minguez changed the title Wrong metallb repo Wrong repos for edge clusters example Apr 2, 2024
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

No branches or pull requests

1 participant