Skip to content

What is the order of precedence in case of conflicting ClusterProfiles? #539

Answered by gianlucam76
rbjorklin asked this question in Q&A
Discussion options

You must be logged in to vote

In your example, the second ClusterProfile gatekeeper-override won't be deployed.

An Helm chart (in a given managed cluster) can only be managed by a ClusterProfile. So you will see in the ClusterSummary corresponding to your second ClusterProfile a status like:

  helmReleaseSummaries:
  - conflictMessage: ClusterSummary base-components-capi-clusterapi-workload managing
      it
    releaseName: gatekeeper
    releaseNamespace: gatekeeper
    status: Conflict

In general, the order is this:

  1. all helm charts listed in a ClusterProfile are deployed in the very same order. So looking at your first ClusterProfile, gatekeeper will be deployed before Kyverno (this is covered with more details h…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by gianlucam76
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rbjorklin
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants