Skip to content

Commit

Permalink
Typo for API fields
Browse files Browse the repository at this point in the history
SNR Typo and redundant comment
  • Loading branch information
razo7 committed Feb 22, 2023
1 parent b2867ae commit 7cb081b
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 33 deletions.
2 changes: 0 additions & 2 deletions api/v1alpha1/fenceagentsremediation_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ type NodeName string

// FenceAgentsRemediationSpec defines the desired state of FenceAgentsRemediation
type FenceAgentsRemediationSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
// Agent is the type of fence agent that will be used
//+operator-sdk:csv:customresourcedefinitions:type=spec
Agent string `json:"agent"`
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/fenceagentsremediationtemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type FenceAgentsRemediationTemplateSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Template defines the desired state of SelfNodeRemediationTemplate
// Template defines the desired state of FenceAgentsRemediationTemplate
//+operator-sdk:csv:customresourcedefinitions:type=spec
Template FenceAgentsRemediationTemplateResource `json:"template"`
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app: fence-agents-remediation-operator
rbac.ext-remediation/aggregate-to-ext-remediation: "true"
name: fence-agents-remediation-ext-remediation
rules:
- apiGroups:
- fence-agents-remediation.medik8s.io
resources:
- fenceagentsremediationtemplates
verbs:
- get
- apiGroups:
- fence-agents-remediation.medik8s.io
resources:
- fenceagentsremediation
verbs:
- get
- list
- create
- delete
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ spec:
kind: FenceAgentsRemediation
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
specDescriptors:
- description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important:
Run "make" to regenerate code after modifying this file Agent is the type
of fence agent that will be used'
- description: Agent is the type of fence agent that will be used
displayName: Agent
path: agent
- description: NodeParameters are node specific they are passed to the fencing
Expand All @@ -82,12 +80,10 @@ spec:
kind: FenceAgentsRemediationTemplate
name: fenceagentsremediationtemplates.fence-agents-remediation.medik8s.io
specDescriptors:
- description: Template defines the desired state of SelfNodeRemediationTemplate
- description: Template defines the desired state of FenceAgentsRemediationTemplate
displayName: Template
path: template
- description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important:
Run "make" to regenerate code after modifying this file Agent is the type
of fence agent that will be used'
- description: Agent is the type of fence agent that will be used
displayName: Agent
path: template.spec.agent
- description: NodeParameters are node specific they are passed to the fencing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ spec:
description: FenceAgentsRemediationSpec defines the desired state of FenceAgentsRemediation
properties:
agent:
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "make" to regenerate code after modifying this file
Agent is the type of fence agent that will be used'
description: Agent is the type of fence agent that will be used
type: string
nodeparameters:
additionalProperties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,15 @@ spec:
of FenceAgentsRemediationTemplate
properties:
template:
description: Template defines the desired state of SelfNodeRemediationTemplate
description: Template defines the desired state of FenceAgentsRemediationTemplate
properties:
spec:
description: FenceAgentsRemediationSpec defines the desired state
of FenceAgentsRemediation
properties:
agent:
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state
of cluster Important: Run "make" to regenerate code after
modifying this file Agent is the type of fence agent that
will be used'
description: Agent is the type of fence agent that will be
used
type: string
nodeparameters:
additionalProperties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ spec:
description: FenceAgentsRemediationSpec defines the desired state of FenceAgentsRemediation
properties:
agent:
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "make" to regenerate code after modifying this file
Agent is the type of fence agent that will be used'
description: Agent is the type of fence agent that will be used
type: string
nodeparameters:
additionalProperties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,15 @@ spec:
of FenceAgentsRemediationTemplate
properties:
template:
description: Template defines the desired state of SelfNodeRemediationTemplate
description: Template defines the desired state of FenceAgentsRemediationTemplate
properties:
spec:
description: FenceAgentsRemediationSpec defines the desired state
of FenceAgentsRemediation
properties:
agent:
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state
of cluster Important: Run "make" to regenerate code after
modifying this file Agent is the type of fence agent that
will be used'
description: Agent is the type of fence agent that will be
used
type: string
nodeparameters:
additionalProperties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ spec:
kind: FenceAgentsRemediation
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
specDescriptors:
- description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important:
Run "make" to regenerate code after modifying this file Agent is the type
of fence agent that will be used'
- description: Agent is the type of fence agent that will be used
displayName: Agent
path: agent
- description: NodeParameters are node specific they are passed to the fencing
Expand All @@ -43,12 +41,10 @@ spec:
kind: FenceAgentsRemediationTemplate
name: fenceagentsremediationtemplates.fence-agents-remediation.medik8s.io
specDescriptors:
- description: Template defines the desired state of SelfNodeRemediationTemplate
- description: Template defines the desired state of FenceAgentsRemediationTemplate
displayName: Template
path: template
- description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important:
Run "make" to regenerate code after modifying this file Agent is the type
of fence agent that will be used'
- description: Agent is the type of fence agent that will be used
displayName: Agent
path: template.spec.agent
- description: NodeParameters are node specific they are passed to the fencing
Expand Down

0 comments on commit 7cb081b

Please sign in to comment.