Skip to content

Conversation

@dminnear-rh
Copy link
Contributor

this commit includes two key changes:

  1. A sync with prune is triggered to remove all applications part of the pattern BEFORE the subscriptions and other resources are deleted to prevent applications from becoming undeleteable if CRs, webhooks, etc disappear.
  2. Subscription for openshift-gitops is no longer owned by pattern instances. Previously, deleting a pattern would delete this subscription and a new subscription would not be able to be created on the reinstall of a pattern since the CSV still existed. The subscription is necessary since it sets the env var ARGOCD_CLUSTER_CONFIG_NAMESPACES to '*'. Without the subscription the ArgoCD instance created by the new pattern would be created in namespaced mode and many charts like vault will not install since they try to create clusterwide resources like clusterrolebindings

@openshift-ci openshift-ci bot requested review from darkdoc and mhjacks November 7, 2025 20:28
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 7, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dminnear-rh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Nov 7, 2025
this commit includes two key changes:

1. A sync with prune is triggered to remove all applications part of the
   pattern BEFORE the subscriptions and other resources are deleted to
   prevent applications from becoming undeleteable if CRs, webhooks, etc
   disappear.
2. Subscription for openshift-gitops is no longer owned by pattern instances.
   Previously, deleting a pattern would delete this subscription and a new
   subscription would not be able to be created on the reinstall of a pattern
   since the CSV still existed. The subscription is necessary since it sets the
   env var ARGOCD_CLUSTER_CONFIG_NAMESPACES to '*'. Without the subscription
   the ArgoCD instance created by the new pattern would be created in namespaced
   mode and many charts like vault will not install since they try to create
   clusterwide resources like clusterrolebindings
@mbaldessari
Copy link
Contributor

/recheck

@mbaldessari
Copy link
Contributor

/lgtm

@mbaldessari
Copy link
Contributor

/recheck

1 similar comment
@mbaldessari
Copy link
Contributor

/recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants