Skip to content

Commit

Permalink
Make HaltOnCertificateError optional
Browse files Browse the repository at this point in the history
... to simplify upgrades. This is the safe option: the value defaults
to false, so existing setups keep their current behaviour.

Signed-off-by: Stephen Kitt <[email protected]>
  • Loading branch information
skitt authored and tpantelis committed Oct 31, 2023
1 parent 39fd429 commit cc230db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/submariner_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ type SubmarinerSpec struct {
// Halt on certificate error (so the pod gets restarted).
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Halt (and restart) on certificate error"
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
HaltOnCertificateError bool `json:"haltOnCertificateError"`
HaltOnCertificateError bool `json:"haltOnCertificateError,omitempty"`

// Name of the custom CoreDNS configmap to configure forwarding to Lighthouse.
// It should be in <namespace>/<name> format where <namespace> is optional and defaults to kube-system.
Expand Down
1 change: 0 additions & 1 deletion pkg/embeddedyamls/yamls.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ spec:
- clusterCIDR
- clusterID
- debug
- haltOnCertificateError
- namespace
- natEnabled
- serviceCIDR
Expand Down

0 comments on commit cc230db

Please sign in to comment.