Skip to content

Commit 4e92ccb

Browse files
author
Martin Jackson
committed
Minor formatting and remove a stray sentence
1 parent a5c4116 commit 4e92ccb

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

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

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ 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-
We can now add sync-waves to Kubernetes manifests in annotations.
85-
8684
== Solution 1: Sync-Waves for Subscriptions in clusterGroup
8785

8886
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
@@ -272,14 +270,14 @@ to "see" and use that storageclass as its default virtualization storage class.
272270

273271
Each subscription is permitted one sequenceJob. Each sequenceJob may have the following attributes:
274272

275-
* syncWave: Defaults to the subscription's syncwave from annotations.
276-
* resourceType: Resource kind for the resource to watch for.
277-
* resourceName: Name of the resource to watch for.
278-
* resourceNamespace: Namespace to watch for the resourceType and resourceName in.
279-
* hookType: Any of the permissible ArgoCD Resource Hook types. Defaults to "Sync".
280-
* image: Image of the container to use for the job. Defaults to the Validated Patterns imperative image.
281-
* command: Command to run inside the container, if the default is not suitable. This also enables you to specify multiple resources to watch for in the same job, or to look for a different condition altogether.
282-
* disabled: Set this to true in an override if you wish to disable the sequenceJob for some reason (such as running on
273+
* *syncWave*: Defaults to the subscription's syncwave from annotations.
274+
* *resourceType*: Resource kind for the resource to watch for.
275+
* *resourceName*: Name of the resource to watch for.
276+
* *resourceNamespace*: Namespace to watch for the resourceType and resourceName in.
277+
* *hookType*: Any of the permissible ArgoCD Resource Hook types. Defaults to "Sync".
278+
* *image*: Image of the container to use for the job. Defaults to the Validated Patterns imperative image.
279+
* *command*: Command to run inside the container, if the default is not suitable. This also enables you to specify multiple resources to watch for in the same job, or to look for a different condition altogether.
280+
* *disabled*: Set this to true in an override if you wish to disable the sequenceJob for some reason (such as running on
283281
a different version of OpenShift or running on a different cloud platform).
284282

285283
If the sequenceJob is not sufficient for your sequencing needs, we have a more generic interface that you can use

0 commit comments

Comments
 (0)