Skip to content

Commit

Permalink
Upgrade controller-runtime to v0.7.0
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Dec 18, 2020
1 parent f0a3147 commit 6e3ea57
Show file tree
Hide file tree
Showing 11 changed files with 364 additions and 211 deletions.
4 changes: 2 additions & 2 deletions api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ go 1.15

require (
github.com/fluxcd/pkg/apis/meta v0.5.0
github.com/fluxcd/pkg/runtime v0.4.0
github.com/fluxcd/pkg/runtime v0.5.1-0.20201217125143-9e1fe564d778
k8s.io/api v0.19.4
k8s.io/apimachinery v0.19.4
sigs.k8s.io/controller-runtime v0.6.4
sigs.k8s.io/controller-runtime v0.7.0
)
150 changes: 92 additions & 58 deletions api/go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions api/v1beta1/kustomization_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ func (in *Kustomization) GetStatusConditions() *[]metav1.Condition {
}

const (
// SourceIndexKey is the key used for indexing kustomizations
// GitRepositoryIndexKey is the key used for indexing kustomizations
// based on their Git sources.
SourceIndexKey string = ".metadata.source"
GitRepositoryIndexKey string = ".metadata.git"
// BucketIndexKey is the key used for indexing kustomizations
// based on their S3 sources.
BucketIndexKey string = ".metadata.bucket"
Expand Down
8 changes: 4 additions & 4 deletions config/rbac/leader_election_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
name: leader-election-role
rules:
- apiGroups:
- ""
- coordination.k8s.io
resources:
- configmaps
- leases
verbs:
- get
- list
Expand All @@ -17,9 +17,9 @@ rules:
- patch
- delete
- apiGroups:
- ""
- coordination.k8s.io
resources:
- configmaps/status
- leases/status
verbs:
- get
- update
Expand Down
Loading

0 comments on commit 6e3ea57

Please sign in to comment.