Skip to content

Commit

Permalink
lint: update yaml files with prettier --write
Browse files Browse the repository at this point in the history
Signed-off-by: Praveen M <[email protected]>
  • Loading branch information
iPraveenParihar committed Aug 21, 2024
1 parent b85634b commit 6ea3eda
Show file tree
Hide file tree
Showing 39 changed files with 4,726 additions and 4,175 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Codespell
on:
pull_request:
branches:
- '*'
- "*"
jobs:
codespell:
name: codespell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: "1.22"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tag-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
name: Build and release versioned container images

# yamllint disable-line rule:truthy
on:
create
on: create

jobs:
tag_bundle:
Expand Down
214 changes: 107 additions & 107 deletions config/crd/bases/csiaddons.openshift.io_csiaddonsnodes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,112 +14,112 @@ spec:
singular: csiaddonsnode
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .metadata.namespace
name: namespace
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .spec.driver.name
name: DriverName
type: string
- jsonPath: .spec.driver.endpoint
name: Endpoint
type: string
- jsonPath: .spec.driver.nodeID
name: NodeID
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: CSIAddonsNode is the Schema for the csiaddonsnode API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: CSIAddonsNodeSpec defines the desired state of CSIAddonsNode
properties:
driver:
description: |-
Driver is the information of the CSI Driver existing on a node.
If the driver is uninstalled, this can become empty.
properties:
endpoint:
description: |-
EndPoint is url that contains the ip-address to which the CSI-Addons
side-car listens to.
- additionalPrinterColumns:
- jsonPath: .metadata.namespace
name: namespace
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .spec.driver.name
name: DriverName
type: string
- jsonPath: .spec.driver.endpoint
name: Endpoint
type: string
- jsonPath: .spec.driver.nodeID
name: NodeID
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: CSIAddonsNode is the Schema for the csiaddonsnode API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: CSIAddonsNodeSpec defines the desired state of CSIAddonsNode
properties:
driver:
description: |-
Driver is the information of the CSI Driver existing on a node.
If the driver is uninstalled, this can become empty.
properties:
endpoint:
description: |-
EndPoint is url that contains the ip-address to which the CSI-Addons
side-car listens to.
type: string
name:
description: |-
Name is the name of the CSI driver that this object refers to.
This must be the same name returned by the CSI-Addons GetIdentity()
call for that driver. The name of the driver is in the format:
`example.csi.ceph.com`
type: string
x-kubernetes-validations:
- message: name is immutable
rule: self == oldSelf
nodeID:
description: |-
NodeID is the ID of the node to identify on which node the side-car
is running.
type: string
x-kubernetes-validations:
- message: nodeID is immutable
rule: self == oldSelf
required:
- endpoint
- name
- nodeID
type: object
required:
- driver
type: object
status:
description: CSIAddonsNodeStatus defines the observed state of CSIAddonsNode
properties:
capabilities:
description: A list of capabilities advertised by the sidecar
items:
type: string
name:
description: |-
Name is the name of the CSI driver that this object refers to.
This must be the same name returned by the CSI-Addons GetIdentity()
call for that driver. The name of the driver is in the format:
`example.csi.ceph.com`
type: string
x-kubernetes-validations:
- message: name is immutable
rule: self == oldSelf
nodeID:
description: |-
NodeID is the ID of the node to identify on which node the side-car
is running.
type: string
x-kubernetes-validations:
- message: nodeID is immutable
rule: self == oldSelf
required:
- endpoint
- name
- nodeID
type: object
required:
- driver
type: object
status:
description: CSIAddonsNodeStatus defines the observed state of CSIAddonsNode
properties:
capabilities:
description: A list of capabilities advertised by the sidecar
items:
type: array
message:
description: |-
Message is a human-readable message indicating details about why the CSIAddonsNode
is in this state.
type: string
reason:
description: |-
Reason is a brief CamelCase string that describes any failure and is meant
for machine parsing and tidy display in the CLI.
type: string
state:
description: |-
State represents the state of the CSIAddonsNode object.
It informs whether or not the CSIAddonsNode is Connected
to the CSI Driver.
type: string
type: array
message:
description: |-
Message is a human-readable message indicating details about why the CSIAddonsNode
is in this state.
type: string
reason:
description: |-
Reason is a brief CamelCase string that describes any failure and is meant
for machine parsing and tidy display in the CLI.
type: string
state:
description: |-
State represents the state of the CSIAddonsNode object.
It informs whether or not the CSIAddonsNode is Connected
to the CSI Driver.
type: string
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit 6ea3eda

Please sign in to comment.