Skip to content

Commit

Permalink
Renaming fence-agents to fence-agents-remediation in medik8s.io domain
Browse files Browse the repository at this point in the history
  • Loading branch information
razo7 committed Jan 23, 2023
1 parent 749e779 commit f80d6b0
Show file tree
Hide file tree
Showing 20 changed files with 57 additions and 38 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

// Package v1alpha1 contains API Schema definitions for the fence-agents v1alpha1 API group
// +kubebuilder:object:generate=true
// +groupName=fence-agents.medik8s.io
// +groupName=fence-agents-remediation.medik8s.io
package v1alpha1

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

var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "fence-agents.medik8s.io", Version: "v1alpha1"}
GroupVersion = schema.GroupVersion{Group: "fence-agents-remediation.medik8s.io", Version: "v1alpha1"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ metadata:
alm-examples: |-
[
{
"apiVersion": "fence-agents.medik8s.io/v1alpha1",
"apiVersion": "fence-agents-remediation.medik8s.io/v1alpha1",
"kind": "FenceAgentsRemediation",
"metadata": {
"name": "worker-1"
},
"spec": null
},
{
"apiVersion": "fence-agents.medik8s.io/v1alpha1",
"apiVersion": "fence-agents-remediation.medik8s.io/v1alpha1",
"kind": "FenceAgentsRemediationTemplate",
"metadata": {
"name": "fenceagentsremediationtemplate-default"
Expand Down Expand Up @@ -41,7 +41,7 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2023-01-23T15:11:09Z"
createdAt: "2023-01-23T15:21:44Z"
operators.operatorframework.io/builder: operator-sdk-v1.26.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
name: fence-agents-remediation.v0.0.1
Expand All @@ -50,11 +50,17 @@ spec:
apiservicedefinitions: {}
customresourcedefinitions:
owned:
- kind: FenceAgentsRemediation
name: fenceagentsremediations.fence-agents.medik8s.io
- description: FenceAgentsRemediation is the Schema for the fenceagentsremediations
API
displayName: Fence Agents Remediation
kind: FenceAgentsRemediation
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
version: v1alpha1
- kind: FenceAgentsRemediationTemplate
name: fenceagentsremediationtemplates.fence-agents.medik8s.io
- description: FenceAgentsRemediationTemplate is the Schema for the fenceagentsremediationtemplates
API
displayName: Fence Agents Remediation Template
kind: FenceAgentsRemediationTemplate
name: fenceagentsremediationtemplates.fence-agents-remediation.medik8s.io
version: v1alpha1
description: Run existing set of upstream fencing agents for environments with a
traditional API end-point (eg. IPMI) for power cycling cluster nodes.
Expand Down Expand Up @@ -179,7 +185,7 @@ spec:
- --leader-elect
command:
- /manager
image: quay.io/medik8s/fence-agents-remediation-operator:latest
image: controller:latest
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
creationTimestamp: null
labels:
app: fence-agents-remediation-operator
name: fenceagentsremediations.fence-agents.medik8s.io
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
spec:
group: fence-agents.medik8s.io
group: fence-agents-remediation.medik8s.io
names:
kind: FenceAgentsRemediation
listKind: FenceAgentsRemediationList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
creationTimestamp: null
labels:
app: fence-agents-remediation-operator
name: fenceagentsremediationtemplates.fence-agents.medik8s.io
name: fenceagentsremediationtemplates.fence-agents-remediation.medik8s.io
spec:
group: fence-agents.medik8s.io
group: fence-agents-remediation.medik8s.io
names:
kind: FenceAgentsRemediationTemplate
listKind: FenceAgentsRemediationTemplateList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
name: fenceagentsremediations.fence-agents.medik8s.io
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
spec:
group: fence-agents.medik8s.io
group: fence-agents-remediation.medik8s.io
names:
kind: FenceAgentsRemediation
listKind: FenceAgentsRemediationList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
name: fenceagentsremediationtemplates.fence-agents.medik8s.io
name: fenceagentsremediationtemplates.fence-agents-remediation.medik8s.io
spec:
group: fence-agents.medik8s.io
group: fence-agents-remediation.medik8s.io
names:
kind: FenceAgentsRemediationTemplate
listKind: FenceAgentsRemediationTemplateList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
name: fenceagentsremediations.fence-agents.medik8s.io
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
spec:
group: fence-agents.medik8s.io
group: fence-agents-remediation.medik8s.io
names:
kind: FenceAgentsRemediation
listKind: FenceAgentsRemediationList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
name: fenceagentsremediationtemplates.fence-agents.medik8s.io
name: fenceagentsremediationtemplates.fence-agents-remediation.medik8s.io
spec:
group: fence-agents.medik8s.io
group: fence-agents-remediation.medik8s.io
names:
kind: FenceAgentsRemediationTemplate
listKind: FenceAgentsRemediationTemplateList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
name: fenceagentsremediations.fence-agents.medik8s.io
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
name: fenceagentsremediationtemplates.fence-agents.medik8s.io
name: fenceagentsremediationtemplates.fence-agents-remediation.medik8s.io
2 changes: 1 addition & 1 deletion config/crd/patches/webhook_in_fenceagentsremediations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: fenceagentsremediations.fence-agents.medik8s.io
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
spec:
conversion:
strategy: Webhook
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: fenceagentsremediationtemplates.fence-agents.medik8s.io
name: fenceagentsremediationtemplates.fence-agents-remediation.medik8s.io
spec:
conversion:
strategy: Webhook
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: quay.io/medik8s/fence-agents-remediation-operator
newName: controller
newTag: latest
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,20 @@ metadata:
namespace: placeholder
spec:
apiservicedefinitions: {}
customresourcedefinitions: {}
customresourcedefinitions:
owned:
- description: FenceAgentsRemediation is the Schema for the fenceagentsremediations
API
displayName: Fence Agents Remediation
kind: FenceAgentsRemediation
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
version: v1alpha1
- description: FenceAgentsRemediationTemplate is the Schema for the fenceagentsremediationtemplates
API
displayName: Fence Agents Remediation Template
kind: FenceAgentsRemediationTemplate
name: fenceagentsremediationtemplates.fence-agents-remediation.medik8s.io
version: v1alpha1
description: Run existing set of upstream fencing agents for environments with a
traditional API end-point (eg. IPMI) for power cycling cluster nodes.
displayName: fence-agents-remediation
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/fenceagentsremediation_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: fenceagentsremediation-editor-role
rules:
- apiGroups:
- fence-agents.medik8s.io
- fence-agents-remediation.medik8s.io
resources:
- fenceagentsremediations
verbs:
Expand All @@ -17,7 +17,7 @@ rules:
- update
- watch
- apiGroups:
- fence-agents.medik8s.io
- fence-agents-remediation.medik8s.io
resources:
- fenceagentsremediations/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/fenceagentsremediation_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ metadata:
name: fenceagentsremediation-viewer-role
rules:
- apiGroups:
- fence-agents.medik8s.io
- fence-agents-remediation.medik8s.io
resources:
- fenceagentsremediations
verbs:
- get
- list
- watch
- apiGroups:
- fence-agents.medik8s.io
- fence-agents-remediation.medik8s.io
resources:
- fenceagentsremediations/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/fenceagentsremediationtemplate_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: fenceagentsremediationtemplate-editor-role
rules:
- apiGroups:
- fence-agents.medik8s.io
- fence-agents-remediation.medik8s.io
resources:
- fenceagentsremediationtemplates
verbs:
Expand All @@ -17,7 +17,7 @@ rules:
- update
- watch
- apiGroups:
- fence-agents.medik8s.io
- fence-agents-remediation.medik8s.io
resources:
- fenceagentsremediationtemplates/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/fenceagentsremediationtemplate_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ metadata:
name: fenceagentsremediationtemplate-viewer-role
rules:
- apiGroups:
- fence-agents.medik8s.io
- fence-agents-remediation.medik8s.io
resources:
- fenceagentsremediationtemplates
verbs:
- get
- list
- watch
- apiGroups:
- fence-agents.medik8s.io
- fence-agents-remediation.medik8s.io
resources:
- fenceagentsremediationtemplates/status
verbs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: fence-agents.medik8s.io/v1alpha1
apiVersion: fence-agents-remediation.medik8s.io/v1alpha1
kind: FenceAgentsRemediation
metadata:
name: worker-1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: fence-agents.medik8s.io/v1alpha1
apiVersion: fence-agents-remediation.medik8s.io/v1alpha1
kind: FenceAgentsRemediationTemplate
metadata:
name: fenceagentsremediationtemplate-default
Expand Down

0 comments on commit f80d6b0

Please sign in to comment.