Skip to content

Commit 5a41c57

Browse files
committed
Remove helm upgrade note in ReconcilePolicy description
It is already documented that CRDs need to be upgraded with major releases of the helm chart
1 parent 8d4bcd4 commit 5a41c57

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

manifests/install/all/crds/base/agentinjectors_agents_contrastsecurity_com.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ spec:
9595
type: string
9696
type: object
9797
reconcilePolicy:
98-
description: When to reconcile matched workloads. 'Always' (the default) re-patches every matched workload whenever injector settings, versions, connections, configurations, or referenced secrets change, which rolls all of them at once. 'OnCreate' patches a workload only when it first becomes matched, then new settings apply to pods as they are naturally recreated, avoiding fleet-wide restarts. Helm users must manually apply the updated CRDs before setting this field, otherwise it is silently ignored. Defaults to 'Always'.
98+
description: When to reconcile matched workloads. 'Always' (the default) re-patches every matched workload whenever injector settings, versions, connections, configurations, or referenced secrets change, which rolls all of them at once. 'OnCreate' patches a workload only when it first becomes matched, then new settings apply to pods as they are naturally recreated, avoiding fleet-wide restarts. Defaults to 'Always'.
9999
nullable: true
100100
pattern: ^(Always|OnCreate)$
101101
type: string

manifests/install/all/crds/base/clusteragentinjectors_agents_contrastsecurity_com.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ spec:
101101
type: string
102102
type: object
103103
reconcilePolicy:
104-
description: When to reconcile matched workloads. 'Always' (the default) re-patches every matched workload whenever injector settings, versions, connections, configurations, or referenced secrets change, which rolls all of them at once. 'OnCreate' patches a workload only when it first becomes matched, then new settings apply to pods as they are naturally recreated, avoiding fleet-wide restarts. Helm users must manually apply the updated CRDs before setting this field, otherwise it is silently ignored. Defaults to 'Always'.
104+
description: When to reconcile matched workloads. 'Always' (the default) re-patches every matched workload whenever injector settings, versions, connections, configurations, or referenced secrets change, which rolls all of them at once. 'OnCreate' patches a workload only when it first becomes matched, then new settings apply to pods as they are naturally recreated, avoiding fleet-wide restarts. Defaults to 'Always'.
105105
nullable: true
106106
pattern: ^(Always|OnCreate)$
107107
type: string

src/Contrast.K8s.AgentOperator/Entities/V1Beta1AgentInjector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class AgentInjectorSpec
4141
public AgentInjectorConfigurationSpec? Configuration { get; set; } = new();
4242

4343
[Pattern(RegexConstants.ReconcilePolicyRegex)]
44-
[Description("When to reconcile matched workloads. 'Always' (the default) re-patches every matched workload whenever injector settings, versions, connections, configurations, or referenced secrets change, which rolls all of them at once. 'OnCreate' patches a workload only when it first becomes matched, then new settings apply to pods as they are naturally recreated, avoiding fleet-wide restarts. Helm users must manually apply the updated CRDs before setting this field, otherwise it is silently ignored. Defaults to 'Always'.")]
44+
[Description("When to reconcile matched workloads. 'Always' (the default) re-patches every matched workload whenever injector settings, versions, connections, configurations, or referenced secrets change, which rolls all of them at once. 'OnCreate' patches a workload only when it first becomes matched, then new settings apply to pods as they are naturally recreated, avoiding fleet-wide restarts. Defaults to 'Always'.")]
4545
public string? ReconcilePolicy { get; set; }
4646
}
4747

0 commit comments

Comments
 (0)