|
|
@@ -13,9 +13,15 @@ kind: ClusterPushSecret
|
|
|
metadata:
|
|
|
name: "hello-world"
|
|
|
spec:
|
|
|
- # The name to be used on the PushSecrets
|
|
|
+ # The name to be used on the PushSecrets.
|
|
|
+ # Defaults to the name of the ClusterPushSecret when omitted.
|
|
|
pushSecretName: "hello-world-ps"
|
|
|
|
|
|
+ # Optional labels and annotations to set on every created PushSecret.
|
|
|
+ pushSecretMetadata:
|
|
|
+ labels: {}
|
|
|
+ annotations: {}
|
|
|
+
|
|
|
# This is a list of basic label selector to select the namespaces to deploy PushSecrets to.
|
|
|
# you can read more about them here https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#resources-that-support-set-based-requirements
|
|
|
# The list is OR'd together, so if any of the namespaceSelectors match the namespace,
|
|
|
@@ -26,6 +32,7 @@ spec:
|
|
|
|
|
|
# How often the ClusterPushSecret should reconcile itself
|
|
|
# This will decide how often to check and make sure that the PushSecrets exist in the matching namespaces
|
|
|
+ # If omitted, the controller's default requeue interval is used.
|
|
|
refreshTime: "1m"
|
|
|
|
|
|
# This is the spec of the PushSecrets to be created
|
|
|
@@ -76,18 +83,19 @@ status:
|
|
|
failedNamespaces:
|
|
|
- namespace: "matching-ns-1"
|
|
|
# This is one of the possible messages, and likely the most common
|
|
|
- reason: "external secret already exists in namespace"
|
|
|
+ reason: "push secret already exists in namespace"
|
|
|
|
|
|
# You can find all matching and successfully deployed namespaces here
|
|
|
provisionedNamespaces:
|
|
|
- "matching-ns-3"
|
|
|
- "matching-ns-2"
|
|
|
|
|
|
- # The condition can be Ready, PartiallyReady, or NotReady
|
|
|
- # PartiallyReady would indicate an error in 1 or more namespaces
|
|
|
- # NotReady would indicate errors in all namespaces meaning all ExternalSecrets resulted in errors
|
|
|
+ # The only condition type is Ready. status is "True" when all matching
|
|
|
+ # namespaces synced, and "False" if one or more namespaces failed (the failed
|
|
|
+ # ones are listed under failedNamespaces above).
|
|
|
conditions:
|
|
|
- - type: PartiallyReady
|
|
|
- status: "True"
|
|
|
+ - type: Ready
|
|
|
+ status: "False"
|
|
|
+ message: "one or more namespaces failed"
|
|
|
lastTransitionTime: "2022-01-12T12:33:02Z"
|
|
|
{% endraw %}
|