Skip to content

Commit

Permalink
Merge pull request #225 from squat/fix_scope
Browse files Browse the repository at this point in the history
pkg/k8s: fix resource scope of Kilo CRD
  • Loading branch information
squat authored Aug 19, 2021
2 parents ad62f90 + 288bb82 commit acc3696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
listKind: PeerList
plural: peers
singular: peer
scope: Namespaced
scope: Cluster
versions:
- name: v1alpha1
schema:
Expand Down
1 change: 1 addition & 0 deletions pkg/k8s/apis/kilo/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ var PeerShortNames = []string{"peer"}
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:openapi-gen=true
// +kubebuilder:resource:scope=Cluster

// Peer is a WireGuard peer that should have access to the VPN.
type Peer struct {
Expand Down

0 comments on commit acc3696

Please sign in to comment.