Skip to content

Commit

Permalink
chore: add secret read (#83)
Browse files Browse the repository at this point in the history
* add secret read

Signed-off-by: Zach Aller <[email protected]>

* add secret read

Signed-off-by: Zach Aller <[email protected]>

---------

Signed-off-by: Zach Aller <[email protected]>
  • Loading branch information
zachaller authored Oct 24, 2024
1 parent a03e8f1 commit 93faf3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rules:
- apiGroups:
- ""
resources:
- Secrets
- secrets
verbs:
- get
- list
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/promotionstrategy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type PromotionStrategyReconciler struct {
//+kubebuilder:rbac:groups=promoter.argoproj.io,resources=promotionstrategies/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=promoter.argoproj.io,resources=promotionstrategies/finalizers,verbs=update

//+kubebuilder:rbac:groups="",resources=Secrets,verbs=get;list;watch
//+kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch

// Reconcile is part of the main kubernetes reconciliation loop which aims to
// move the current state of the cluster closer to the desired state.
Expand Down

0 comments on commit 93faf3a

Please sign in to comment.