Skip to content

Commit 829336c

Browse files
authored
Merge pull request #493 from mhjacks/sequencing_blog_fix
Update blog post to also mention applications
2 parents 4b6b833 + ffdb9b8 commit 829336c

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

content/blog/2024-11-07-clustergroup-sequencing.adoc

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Within the framework, we support resource hooks in three ways:
4646
3. Exposing a new top-level clusterGroup object, extraObjects, that allows users full control of creating their own
4747
resource hooks.
4848

49-
These features are available in version 0.9.8 and later of the Validated Patterns clustergroup chart.
49+
These features are available in version 0.9.9 and later of the Validated Patterns clustergroup chart.
5050

5151
== Race Conditions: The Problem
5252

@@ -81,11 +81,11 @@ apply resources in. The mechanism is described in the ArgoCD upstream docs https
8181
resources in the numerically next sync-wave are synced. This mechanism gives us a way of having ArgocD help us enforce
8282
order with objects that it manages.
8383

84-
== Solution 1: Sync-Waves for Subscriptions in clusterGroup
84+
== Solution 1: Sync-Waves for Subscriptions (and/or Applications) in clusterGroup
8585

86-
The Validated Patterns framework now allows Kubernetes https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/[annotations] to be added directly to subscription objects in the clusterGroup. ArgoCD uses annotations
87-
for Resource Hooks. The clustergoup chart now passes any annotations attached to subscriptions through to the
88-
subscription object(s) that the clustergroup chart creates. For example:
86+
The Validated Patterns framework now allows Kubernetes https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/[annotations] to be added directly to subscription objects and application objects in the clusterGroup.
87+
ArgoCD uses annotations for Resource Hooks. The clustergoup chart now passes any annotations attached to subscriptions
88+
through to the subscription object(s) that the clustergroup chart creates. For example:
8989

9090
[source,yaml]
9191
----
@@ -150,6 +150,9 @@ In the case of this particular issue, it was not enough. But because all sequenc
150150
sync-wave annotations, adding the annotation to the subscription object will be necessary for using the other
151151
solutions.
152152

153+
The sequencing of applications would work the same way, with the same format for adding annotations to the application
154+
stanzas in the clustergroup.
155+
153156
== Solution 2: The `sequenceJob` attribute for Subscriptions in clusterGroup
154157

155158
In this situation, we have a subscription that installs an operator, but it is not enough for just the subscriptions

0 commit comments

Comments
 (0)