Skip to content

Commit

Permalink
Use group dippynark.co.uk
Browse files Browse the repository at this point in the history
  • Loading branch information
dippynark committed Mar 11, 2021
1 parent 9067163 commit 1f4d890
Show file tree
Hide file tree
Showing 46 changed files with 93 additions and 93 deletions.
2 changes: 1 addition & 1 deletion PROJECT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
domain: lukeaddison.co.uk
domain: dippynark.co.uk
repo: github.com/dippynark/cluster-api-provider-kubernetes
resources:
- group: infrastructure
Expand Down
4 changes: 2 additions & 2 deletions api/v1alpha2/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.

// Package v1alpha2 contains API Schema definitions for the infrastructure v1alpha2 API group
// +kubebuilder:object:generate=true
// +groupName=infrastructure.lukeaddison.co.uk
// +groupName=infrastructure.dippynark.co.uk
package v1alpha2

import (
Expand All @@ -27,7 +27,7 @@ import (

var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "infrastructure.lukeaddison.co.uk", Version: "v1alpha2"}
GroupVersion = schema.GroupVersion{Group: "infrastructure.dippynark.co.uk", Version: "v1alpha2"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha2/kubernetescluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
// KubernetesClusterFinalizer allows KubernetesClusterReconciler to clean up
// resources associated with a KubernetesCluster before removing it from the
// API Server.
KubernetesClusterFinalizer = "kubernetescluster.infrastructure.lukeaddison.co.uk"
KubernetesClusterFinalizer = "kubernetescluster.infrastructure.dippynark.co.uk"
)

// KubernetesClusterSpec defines the desired state of KubernetesCluster
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha2/kubernetesmachine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
// KubernetesMachineFinalizer allows ReconcileKubernetesMachine to clean up
// resources associated with KubernetesMachine before removing it from the
// API Server.
KubernetesMachineFinalizer = "kubernetesmachine.infrastructure.lukeaddison.co.uk"
KubernetesMachineFinalizer = "kubernetesmachine.infrastructure.dippynark.co.uk"
)

// KubernetesMachineSpec defines the desired state of KubernetesMachine
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha2/kubernetesmachine_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (r *KubernetesMachine) SetupWebhookWithManager(mgr ctrl.Manager) error {
Complete()
}

// +kubebuilder:webhook:path=/mutate-infrastructure-lukeaddison-co-uk-v1alpha2-kubernetesmachine,mutating=true,failurePolicy=fail,matchPolicy=Equivalent,groups=infrastructure.lukeaddison.co.uk,resources=kubernetesmachines,verbs=create;update,versions=v1alpha2,name=mkubernetesmachine.kb.io,sideEffects=None,admissionReviewVersions=v1beta1
// +kubebuilder:webhook:path=/mutate-infrastructure-dippynark-co-uk-v1alpha2-kubernetesmachine,mutating=true,failurePolicy=fail,matchPolicy=Equivalent,groups=infrastructure.dippynark.co.uk,resources=kubernetesmachines,verbs=create;update,versions=v1alpha2,name=mkubernetesmachine.kb.io,sideEffects=None,admissionReviewVersions=v1beta1

var _ webhook.Defaulter = &KubernetesMachine{}

Expand Down
4 changes: 2 additions & 2 deletions api/v1alpha3/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.

// Package v1alpha3 contains API Schema definitions for the infrastructure v1alpha3 API group
// +kubebuilder:object:generate=true
// +groupName=infrastructure.lukeaddison.co.uk
// +groupName=infrastructure.dippynark.co.uk
package v1alpha3

import (
Expand All @@ -25,7 +25,7 @@ import (

var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "infrastructure.lukeaddison.co.uk", Version: "v1alpha3"}
GroupVersion = schema.GroupVersion{Group: "infrastructure.dippynark.co.uk", Version: "v1alpha3"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha3/kubernetescluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
// KubernetesClusterFinalizer allows KubernetesClusterReconciler to clean up
// resources associated with a KubernetesCluster before removing it from the
// API Server.
KubernetesClusterFinalizer = "kubernetescluster.infrastructure.lukeaddison.co.uk"
KubernetesClusterFinalizer = "kubernetescluster.infrastructure.dippynark.co.uk"
)

// KubernetesClusterSpec defines the desired state of KubernetesCluster
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha3/kubernetesmachine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
// KubernetesMachineFinalizer allows ReconcileKubernetesMachine to clean up
// resources associated with KubernetesMachine before removing it from the
// API Server.
KubernetesMachineFinalizer = "kubernetesmachine.infrastructure.lukeaddison.co.uk"
KubernetesMachineFinalizer = "kubernetesmachine.infrastructure.dippynark.co.uk"
)

// KubernetesMachineSpec defines the desired state of KubernetesMachine
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha3/kubernetesmachine_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (r *KubernetesMachine) SetupWebhookWithManager(mgr ctrl.Manager) error {
Complete()
}

// +kubebuilder:webhook:path=/mutate-infrastructure-lukeaddison-co-uk-v1alpha3-kubernetesmachine,mutating=true,failurePolicy=fail,matchPolicy=Equivalent,groups=infrastructure.lukeaddison.co.uk,resources=kubernetesmachines,verbs=create;update,versions=v1alpha3,name=mkubernetesmachine.kb.io,sideEffects=None,admissionReviewVersions=v1beta1
// +kubebuilder:webhook:path=/mutate-infrastructure-dippynark-co-uk-v1alpha3-kubernetesmachine,mutating=true,failurePolicy=fail,matchPolicy=Equivalent,groups=infrastructure.dippynark.co.uk,resources=kubernetesmachines,verbs=create;update,versions=v1alpha3,name=mkubernetesmachine.kb.io,sideEffects=None,admissionReviewVersions=v1beta1

var _ webhook.Defaulter = &KubernetesMachine{}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: kubernetesclusters.infrastructure.lukeaddison.co.uk
name: kubernetesclusters.infrastructure.dippynark.co.uk
spec:
group: infrastructure.lukeaddison.co.uk
group: infrastructure.dippynark.co.uk
names:
categories:
- cluster-api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: kubernetesmachines.infrastructure.lukeaddison.co.uk
name: kubernetesmachines.infrastructure.dippynark.co.uk
spec:
group: infrastructure.lukeaddison.co.uk
group: infrastructure.dippynark.co.uk
names:
categories:
- cluster-api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: kubernetesmachinetemplates.infrastructure.lukeaddison.co.uk
name: kubernetesmachinetemplates.infrastructure.dippynark.co.uk
spec:
group: infrastructure.lukeaddison.co.uk
group: infrastructure.dippynark.co.uk
names:
categories:
- cluster-api
Expand Down
10 changes: 5 additions & 5 deletions config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
resources:
- bases/infrastructure.lukeaddison.co.uk_kubernetesclusters.yaml
- bases/infrastructure.lukeaddison.co.uk_kubernetesmachines.yaml
- bases/infrastructure.lukeaddison.co.uk_kubernetesmachinetemplates.yaml
- bases/infrastructure.dippynark.co.uk_kubernetesclusters.yaml
- bases/infrastructure.dippynark.co.uk_kubernetesmachines.yaml
- bases/infrastructure.dippynark.co.uk_kubernetesmachinetemplates.yaml
# +kubebuilder:scaffold:crdkustomizeresource

patchesStrategicMerge:
Expand Down Expand Up @@ -34,7 +34,7 @@ patchesStrategicMerge:
patchesJSON6902:
- target:
kind: CustomResourceDefinition
name: kubernetesmachines.infrastructure.lukeaddison.co.uk
name: kubernetesmachines.infrastructure.dippynark.co.uk
patch: |-
- op: add
path: /spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/volumeClaimTemplates/items/properties/metadata/properties
Expand All @@ -48,7 +48,7 @@ patchesJSON6902:
type: string
- target:
kind: CustomResourceDefinition
name: kubernetesmachinetemplates.infrastructure.lukeaddison.co.uk
name: kubernetesmachinetemplates.infrastructure.dippynark.co.uk
patch: |-
- op: add
path: /spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/template/properties/spec/properties/volumeClaimTemplates/items/properties/metadata/properties
Expand Down
2 changes: 1 addition & 1 deletion config/crd/patches/cainjection_in_kubernetesclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
name: kubernetesclusters.infrastructure.lukeaddison.co.uk
name: kubernetesclusters.infrastructure.dippynark.co.uk
2 changes: 1 addition & 1 deletion config/crd/patches/cainjection_in_kubernetesmachines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
name: kubernetesmachines.infrastructure.lukeaddison.co.uk
name: kubernetesmachines.infrastructure.dippynark.co.uk
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
name: kubernetesmachinetemplates.infrastructure.lukeaddison.co.uk
name: kubernetesmachinetemplates.infrastructure.dippynark.co.uk
2 changes: 1 addition & 1 deletion config/crd/patches/webhook_in_kubernetesclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: kubernetesclusters.infrastructure.lukeaddison.co.uk
name: kubernetesclusters.infrastructure.dippynark.co.uk
spec:
conversion:
strategy: Webhook
Expand Down
2 changes: 1 addition & 1 deletion config/crd/patches/webhook_in_kubernetesmachines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: kubernetesmachines.infrastructure.lukeaddison.co.uk
name: kubernetesmachines.infrastructure.dippynark.co.uk
spec:
conversion:
strategy: Webhook
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: kubernetesmachinetemplates.infrastructure.lukeaddison.co.uk
name: kubernetesmachinetemplates.infrastructure.dippynark.co.uk
spec:
conversion:
strategy: Webhook
Expand Down
6 changes: 3 additions & 3 deletions config/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ patchesJson6902:
group: apiextensions.k8s.io
version: v1
kind: CustomResourceDefinition
name: kubernetesclusters.infrastructure.lukeaddison.co.uk
name: kubernetesclusters.infrastructure.dippynark.co.uk
path: patch_crd_webhook_namespace.yaml
- target:
group: apiextensions.k8s.io
version: v1
kind: CustomResourceDefinition
name: kubernetesmachines.infrastructure.lukeaddison.co.uk
name: kubernetesmachines.infrastructure.dippynark.co.uk
path: patch_crd_webhook_namespace.yaml
- target:
group: apiextensions.k8s.io
version: v1
kind: CustomResourceDefinition
name: kubernetesmachinetemplates.infrastructure.lukeaddison.co.uk
name: kubernetesmachinetemplates.infrastructure.dippynark.co.uk
path: patch_crd_webhook_namespace.yaml
2 changes: 1 addition & 1 deletion config/rbac/capi_kubeadm_control_plane_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
kubeadm.controlplane.cluster.x-k8s.io/aggregate-to-manager: "true"
rules:
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachines
- kubernetesmachinetemplates
Expand Down
2 changes: 1 addition & 1 deletion config/rbac/capi_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
cluster.x-k8s.io/aggregate-to-manager: "true"
rules:
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesclusters
- kubernetesmachines
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/kubernetescluster_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: kubernetescluster-editor-role
rules:
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesclusters
verbs:
Expand All @@ -17,7 +17,7 @@ rules:
- update
- watch
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesclusters/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/kubernetescluster_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ metadata:
name: kubernetescluster-viewer-role
rules:
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesclusters
verbs:
- get
- list
- watch
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesclusters/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/kubernetesmachine_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: kubernetesmachine-editor-role
rules:
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachines
verbs:
Expand All @@ -17,7 +17,7 @@ rules:
- update
- watch
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachines/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/kubernetesmachine_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ metadata:
name: kubernetesmachine-viewer-role
rules:
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachines
verbs:
- get
- list
- watch
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachines/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/kubernetesmachinetemplate_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: kubernetesmachinetemplate-editor-role
rules:
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachinetemplates
verbs:
Expand All @@ -17,7 +17,7 @@ rules:
- update
- watch
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachinetemplates/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/kubernetesmachinetemplate_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ metadata:
name: kubernetesmachinetemplate-viewer-role
rules:
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachinetemplates
verbs:
- get
- list
- watch
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachinetemplates/status
verbs:
Expand Down
8 changes: 4 additions & 4 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ rules:
- list
- watch
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesclusters
verbs:
Expand All @@ -77,15 +77,15 @@ rules:
- update
- watch
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesclusters/status
verbs:
- get
- patch
- update
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachines
verbs:
Expand All @@ -97,7 +97,7 @@ rules:
- update
- watch
- apiGroups:
- infrastructure.lukeaddison.co.uk
- infrastructure.dippynark.co.uk
resources:
- kubernetesmachines/status
verbs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: infrastructure.lukeaddison.co.uk/v1alpha2
apiVersion: infrastructure.dippynark.co.uk/v1alpha2
kind: KubernetesCluster
metadata:
name: kubernetescluster-sample
Expand Down
Loading

0 comments on commit 1f4d890

Please sign in to comment.