Skip to content

Commit 09a180e

Browse files
Merge pull request #449 from darkdoc/drop_driftwatcher
refactor: Remove drift watcher functionality
2 parents d2c970a + 9a1afea commit 09a180e

File tree

7 files changed

+14
-1413
lines changed

7 files changed

+14
-1413
lines changed

api/v1alpha1/pattern_types.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,6 @@ type GitConfig struct {
109109
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=15,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"}
110110
OriginRevision string `json:"originRevision,omitempty"`
111111

112-
// Interval in seconds to poll for drifts between origin and target repositories. Default: 180 seconds
113-
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=16,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:number","urn:alm:descriptor:com.tectonic.ui:advanced"}
114-
// +kubebuilder:default:=180
115-
PollInterval int `json:"pollInterval,omitempty"`
116-
117112
// Optional. FQDN of the git server if automatic parsing from TargetRepo is broken
118113
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=17,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:advanced"}
119114
Hostname string `json:"hostname,omitempty"`

config/crd/bases/gitops.hybrid-cloud-patterns.io_patterns.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ spec:
107107
description: (DEPRECATED) Branch, tag or commit in the upstream
108108
git repository. Does not support short-sha's. Default to HEAD
109109
type: string
110-
pollInterval:
111-
default: 180
112-
description: 'Interval in seconds to poll for drifts between origin
113-
and target repositories. Default: 180 seconds'
114-
type: integer
115110
targetRepo:
116111
description: Git repo containing the pattern to deploy. Must use
117112
https/http or, for ssh, git@server:foo/bar.git

0 commit comments

Comments
 (0)