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

reference clusterclass in specific namespace #9391

Closed
MagnusRef opened this issue Sep 11, 2023 · 3 comments
Closed

reference clusterclass in specific namespace #9391

MagnusRef opened this issue Sep 11, 2023 · 3 comments
Labels
area/clusterclass Issues or PRs related to clusterclass kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@MagnusRef
Copy link

What would you like to be added (User Story)?

As a operator i would like to separate my cluster resources from my clusterclass. As it is right now you can only specify the name of the cluster class in spec.topology.class, but not what namespace it is in.

I think it is good to separate clusters and the clusterclasses and its associated resources for security and a more cleaner look.

Detailed Description

Add in the possibility to reference class not only by name but also namespace.
eg.

apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
  name: test-1
  namespace: test-clusters
spec:
  ...
  topology:
    className: capi-cc
    classNamespace: capi-classes
    version: v1.25.8
    ...

Anything else you would like to add?

No response

Label(s) to be applied

/kind feature
/area clusterclass

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. area/clusterclass Issues or PRs related to clusterclass labels Sep 11, 2023
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If CAPI contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Sep 11, 2023
@killianmuldoon
Copy link
Contributor

Currently it's only possible to create a Cluster in the same namespace as a ClusterClass - we have an issue open at #5673 to allow using a clusterclass in one namespace to stamp a cluster in a different namespace.

If that issue matches what you're looking for do you mind closing this one and chiming in there?

@MagnusRef
Copy link
Author

Sorry for duplicate. closing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/clusterclass Issues or PRs related to clusterclass kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

3 participants