Open
Description
I have been running into this issue: kubernetes/cloud-provider-openstack#2241, and this comment on the issue mentions that the cluster name needs to be unique in order for LoadBalancer names to not collide.
I am currently installing the OCCM via ClusterResourceSet, like this:
apiVersion: addons.cluster.x-k8s.io/v1beta1
kind: ClusterResourceSet
metadata:
name: openstack-ccm
namespace: capi
spec:
strategy: Reconcile
clusterSelector:
matchLabels:
ccm: openstack
resources:
- name: openstack-ccm-manifests
kind: ConfigMap
where the configmap contains all of the manifests here.
The default manifests have the "kubernetes" cluster name:
- name: CLUSTER_NAME
value: kubernetes
How do I pass the actual cluster name to these manifests? There does not appear to be a mechanism like variable substitution or templating available in this context. Or, is there a better way to install the OCCM?
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Inbox