Skip to content

Commit

Permalink
polish controllers
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Nov 21, 2023
1 parent f58ee3e commit b039270
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions controllers/core/featureflagsource/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ type FeatureFlagSourceReconciler struct {
FlagdProxy *flagdproxy.FlagdProxyHandler
}

// renovate: datasource=github-tags depName=open-feature/flagd/flagd-proxy
const flagdProxyTag = "v0.3.0"

//+kubebuilder:rbac:groups=core.openfeature.dev,resources=featureflagsources,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=core.openfeature.dev,resources=featureflagsources/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete
Expand Down
2 changes: 1 addition & 1 deletion controllers/core/featureflagsource/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestFeatureFlagSourceReconciler_Reconcile(t *testing.T) {
}
kpConfig := flagdproxy.NewFlagdProxyConfiguration(commontypes.EnvConfig{
FlagdProxyImage: "ghcr.io/open-feature/flagd-proxy",
FlagdProxyTag: "v0.3.0",
FlagdProxyTag: flagdProxyTag,
})

kpConfig.Namespace = testNamespace
Expand Down

0 comments on commit b039270

Please sign in to comment.