Merge pull request #225 from squat/fix_scope
pkg/k8s: fix resource scope of Kilo CRD
This commit is contained in:
commit
acc3696057
@ -12,7 +12,7 @@ spec:
|
|||||||
listKind: PeerList
|
listKind: PeerList
|
||||||
plural: peers
|
plural: peers
|
||||||
singular: peer
|
singular: peer
|
||||||
scope: Namespaced
|
scope: Cluster
|
||||||
versions:
|
versions:
|
||||||
- name: v1alpha1
|
- name: v1alpha1
|
||||||
schema:
|
schema:
|
||||||
|
@ -48,6 +48,7 @@ var PeerShortNames = []string{"peer"}
|
|||||||
// +genclient:nonNamespaced
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
// +k8s:openapi-gen=true
|
// +k8s:openapi-gen=true
|
||||||
|
// +kubebuilder:resource:scope=Cluster
|
||||||
|
|
||||||
// Peer is a WireGuard peer that should have access to the VPN.
|
// Peer is a WireGuard peer that should have access to the VPN.
|
||||||
type Peer struct {
|
type Peer struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user