1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

[Maintenance] yamlfmt as CI Step (#1497)

This commit is contained in:
Adam Janikowski 2023-11-20 13:11:39 +01:00 committed by GitHub
parent 229d8651fb
commit ba64ce25c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 986 additions and 1819 deletions

View file

@ -49,31 +49,32 @@ jobs:
fi fi
make license-verify license-range-verify make license-verify license-range-verify
- run: make fmt-verify - run: make fmt-verify
# - run: make linter - run: make yamlfmt-verify
# - run: - run: make linter
# name: Unit tests - run:
# command: | name: Unit tests
# if [ -z "$CIRCLE_PULL_REQUEST" ]; then command: |
# echo "This is not a pull request. Skipping..." if [ -z "$CIRCLE_PULL_REQUEST" ]; then
# exit 0 echo "This is not a pull request. Skipping..."
# fi exit 0
# make run-unit-tests fi
# - run: make run-unit-tests
# name: make bin - run:
# command: | name: make bin
# if [ -z "$CIRCLE_PULL_REQUEST" ]; then command: |
# echo "This is not a pull request. Skipping..." if [ -z "$CIRCLE_PULL_REQUEST" ]; then
# exit 0 echo "This is not a pull request. Skipping..."
# fi exit 0
# make bin fi
# - run: make bin
# name: vulncheck - run:
# command: | name: vulncheck
# if [ -z "$CIRCLE_PULL_REQUEST" ]; then command: |
# echo "This is not a pull request. Skipping..." if [ -z "$CIRCLE_PULL_REQUEST" ]; then
# exit 0 echo "This is not a pull request. Skipping..."
# fi exit 0
# make vulncheck fi
make vulncheck
- run: - run:
name: Check that everything what should be generated is commited name: Check that everything what should be generated is commited
command: | command: |
@ -81,7 +82,7 @@ jobs:
echo "This is not a pull request. Skipping..." echo "This is not a pull request. Skipping..."
exit 0 exit 0
fi fi
make verify-generated synchronize-v2alpha1-with-v1 generate-internal fmt make verify-generated synchronize-v2alpha1-with-v1 generate-internal fmt yamlfmt
if [ ! -z "$(git status --porcelain)" ]; then if [ ! -z "$(git status --porcelain)" ]; then
echo "There are uncommited changes!" echo "There are uncommited changes!"
git status git status

View file

@ -16,6 +16,7 @@
- (Feature) Add P0 Compare Func - (Feature) Add P0 Compare Func
- (Bugfix) Handle optional taints for Storage Operator - (Bugfix) Handle optional taints for Storage Operator
- (Bugfix) Fix Early Connections for 3.10+ - (Bugfix) Fix Early Connections for 3.10+
- (Maintenance) yamlfmt as CI Step
## [1.2.35](https://github.com/arangodb/kube-arangodb/tree/1.2.35) (2023-11-06) ## [1.2.35](https://github.com/arangodb/kube-arangodb/tree/1.2.35) (2023-11-06)
- (Maintenance) Update go-driver to v1.6.0, update IsNotFound() checks - (Maintenance) Update go-driver to v1.6.0, update IsNotFound() checks

View file

@ -275,8 +275,12 @@ fmt:
.PHONY: yamlfmt .PHONY: yamlfmt
yamlfmt: yamlfmt:
@echo ">> Ensuring style of yaml files" @echo ">> Ensuring style of yaml files"
@$(foreach YAML,$(YAMLS),echo "yamlfmt $(YAML):" && $(GOPATH)/bin/yamlfmt -w $(YAML) || exit 1; ) @$(GOPATH)/bin/yamlfmt -quiet $(YAMLS)
@$(foreach YAML,$(YAMLS),echo "yamlfmt $(YAML):" && $(GOPATH)/bin/yamlfmt -w $(YAML) || exit 1; )
.PHONY: yamlfmt-verify
yamlfmt-verify:
@echo ">> Verifying style of yaml files"
@$(GOPATH)/bin/yamlfmt -lint -quiet $(YAMLS)
.PHONY: license .PHONY: license
license: license:
@ -691,14 +695,14 @@ tools-min: update-vendor
@echo ">> Fetching license check" @echo ">> Fetching license check"
@GOBIN=$(GOPATH)/bin go install github.com/google/addlicense@6d92264d717064f28b32464f0f9693a5b4ef0239 @GOBIN=$(GOPATH)/bin go install github.com/google/addlicense@6d92264d717064f28b32464f0f9693a5b4ef0239
@echo ">> Fetching yamlfmt" @echo ">> Fetching yamlfmt"
@GOBIN=$(GOPATH)/bin go install github.com/UltiRequiem/yamlfmt@v1.3.0 @GOBIN=$(GOPATH)/bin go install github.com/google/yamlfmt/cmd/yamlfmt@v0.10.0
.PHONY: tools .PHONY: tools
tools: tools-min tools: tools-min
@echo ">> Fetching gci" @echo ">> Fetching gci"
@GOBIN=$(GOPATH)/bin go install github.com/daixiang0/gci@v0.3.0 @GOBIN=$(GOPATH)/bin go install github.com/daixiang0/gci@v0.3.0
@echo ">> Fetching yamlfmt" @echo ">> Fetching yamlfmt"
@GOBIN=$(GOPATH)/bin go install github.com/UltiRequiem/yamlfmt@v1.3.0 @GOBIN=$(GOPATH)/bin go install github.com/google/yamlfmt/cmd/yamlfmt@v0.10.0
@echo ">> Downloading protobuf compiler..." @echo ">> Downloading protobuf compiler..."
@curl -L ${PROTOC_URL} -o $(GOPATH)/protoc.zip @curl -L ${PROTOC_URL} -o $(GOPATH)/protoc.zip
@echo ">> Unzipping protobuf compiler..." @echo ">> Unzipping protobuf compiler..."

View file

@ -6,23 +6,19 @@ v1:
backoff: backoff:
properties: properties:
iterations: iterations:
description: Iterations defines number of iterations before reaching description: Iterations defines number of iterations before reaching MaxDelay. Default to 5
MaxDelay. Default to 5
format: int32 format: int32
type: integer type: integer
max_delay: max_delay:
description: MaxDelay defines maximum delay in seconds. Default to description: MaxDelay defines maximum delay in seconds. Default to 600
600
format: int32 format: int32
type: integer type: integer
max_iterations: max_iterations:
description: MaxIterations defines maximum number of iterations after description: MaxIterations defines maximum number of iterations after backoff will be disabled. Default to nil (no limit)
backoff will be disabled. Default to nil (no limit)
format: int32 format: int32
type: integer type: integer
min_delay: min_delay:
description: MinDelay defines minimum delay in seconds. Default to description: MinDelay defines minimum delay in seconds. Default to 30
30
format: int32 format: int32
type: integer type: integer
type: object type: object
@ -30,16 +26,14 @@ v1:
description: Deployment describes the deployment which should have a backup description: Deployment describes the deployment which should have a backup
properties: properties:
name: name:
description: Name of the ArangoDeployment Custom Resource within same description: Name of the ArangoDeployment Custom Resource within same namespace as ArangoBackup Custom Resource.
namespace as ArangoBackup Custom Resource.
type: string type: string
type: object type: object
download: download:
description: Download Backup download settings description: Download Backup download settings
properties: properties:
credentialsSecretName: credentialsSecretName:
description: CredentialsSecretName is the name of the secret used description: CredentialsSecretName is the name of the secret used while accessing repository
while accessing repository
type: string type: string
id: id:
description: ID of the ArangoBackup to be downloaded description: ID of the ArangoBackup to be downloaded
@ -52,8 +46,7 @@ v1:
type: string type: string
type: object type: object
lifetime: lifetime:
description: 'Lifetime is the time after which the backup will be deleted. description: 'Lifetime is the time after which the backup will be deleted. Format: "1.5h" or "2h45m".'
Format: "1.5h" or "2h45m".'
type: string type: string
options: options:
description: Options specifies backup options description: Options specifies backup options
@ -64,14 +57,12 @@ v1:
If this value is set to true, backup is taken even if we are not able to acquire lock. If this value is set to true, backup is taken even if we are not able to acquire lock.
type: boolean type: boolean
timeout: timeout:
description: Timeout for Backup creation request in seconds. Works description: Timeout for Backup creation request in seconds. Works only when AsyncBackupCreation feature is set to false.
only when AsyncBackupCreation feature is set to false.
format: float format: float
type: number type: number
type: object type: object
policyName: policyName:
description: PolicyName name of the ArangoBackupPolicy which created this description: PolicyName name of the ArangoBackupPolicy which created this Custom Resource
Custom Resource
type: string type: string
upload: upload:
description: |- description: |-
@ -79,8 +70,7 @@ v1:
This field can be removed and created again with different values. This operation will trigger upload again. This field can be removed and created again with different values. This operation will trigger upload again.
properties: properties:
credentialsSecretName: credentialsSecretName:
description: CredentialsSecretName is the name of the secret used description: CredentialsSecretName is the name of the secret used while accessing repository
while accessing repository
type: string type: string
repositoryURL: repositoryURL:
description: |- description: |-
@ -100,23 +90,19 @@ v1alpha:
backoff: backoff:
properties: properties:
iterations: iterations:
description: Iterations defines number of iterations before reaching description: Iterations defines number of iterations before reaching MaxDelay. Default to 5
MaxDelay. Default to 5
format: int32 format: int32
type: integer type: integer
max_delay: max_delay:
description: MaxDelay defines maximum delay in seconds. Default to description: MaxDelay defines maximum delay in seconds. Default to 600
600
format: int32 format: int32
type: integer type: integer
max_iterations: max_iterations:
description: MaxIterations defines maximum number of iterations after description: MaxIterations defines maximum number of iterations after backoff will be disabled. Default to nil (no limit)
backoff will be disabled. Default to nil (no limit)
format: int32 format: int32
type: integer type: integer
min_delay: min_delay:
description: MinDelay defines minimum delay in seconds. Default to description: MinDelay defines minimum delay in seconds. Default to 30
30
format: int32 format: int32
type: integer type: integer
type: object type: object
@ -124,16 +110,14 @@ v1alpha:
description: Deployment describes the deployment which should have a backup description: Deployment describes the deployment which should have a backup
properties: properties:
name: name:
description: Name of the ArangoDeployment Custom Resource within same description: Name of the ArangoDeployment Custom Resource within same namespace as ArangoBackup Custom Resource.
namespace as ArangoBackup Custom Resource.
type: string type: string
type: object type: object
download: download:
description: Download Backup download settings description: Download Backup download settings
properties: properties:
credentialsSecretName: credentialsSecretName:
description: CredentialsSecretName is the name of the secret used description: CredentialsSecretName is the name of the secret used while accessing repository
while accessing repository
type: string type: string
id: id:
description: ID of the ArangoBackup to be downloaded description: ID of the ArangoBackup to be downloaded
@ -146,8 +130,7 @@ v1alpha:
type: string type: string
type: object type: object
lifetime: lifetime:
description: 'Lifetime is the time after which the backup will be deleted. description: 'Lifetime is the time after which the backup will be deleted. Format: "1.5h" or "2h45m".'
Format: "1.5h" or "2h45m".'
type: string type: string
options: options:
description: Options specifies backup options description: Options specifies backup options
@ -158,14 +141,12 @@ v1alpha:
If this value is set to true, backup is taken even if we are not able to acquire lock. If this value is set to true, backup is taken even if we are not able to acquire lock.
type: boolean type: boolean
timeout: timeout:
description: Timeout for Backup creation request in seconds. Works description: Timeout for Backup creation request in seconds. Works only when AsyncBackupCreation feature is set to false.
only when AsyncBackupCreation feature is set to false.
format: float format: float
type: number type: number
type: object type: object
policyName: policyName:
description: PolicyName name of the ArangoBackupPolicy which created this description: PolicyName name of the ArangoBackupPolicy which created this Custom Resource
Custom Resource
type: string type: string
upload: upload:
description: |- description: |-
@ -173,8 +154,7 @@ v1alpha:
This field can be removed and created again with different values. This operation will trigger upload again. This field can be removed and created again with different values. This operation will trigger upload again.
properties: properties:
credentialsSecretName: credentialsSecretName:
description: CredentialsSecretName is the name of the secret used description: CredentialsSecretName is the name of the secret used while accessing repository
while accessing repository
type: string type: string
repositoryURL: repositoryURL:
description: |- description: |-

View file

@ -4,8 +4,7 @@ v1:
spec: spec:
properties: properties:
allowConcurrent: allowConcurrent:
description: AllowConcurrent if false, ArangoBackup will not be created description: AllowConcurrent if false, ArangoBackup will not be created when previous Backups are not finished
when previous Backups are not finished
type: boolean type: boolean
maxBackups: maxBackups:
description: |- description: |-
@ -19,8 +18,7 @@ v1:
Parsed by https://godoc.org/github.com/robfig/cron Parsed by https://godoc.org/github.com/robfig/cron
type: string type: string
selector: selector:
description: DeploymentSelector Selector definition for selecting matching description: DeploymentSelector Selector definition for selecting matching ArangoBackup Custom Resources.
ArangoBackup Custom Resources.
properties: properties:
matchExpressions: matchExpressions:
items: items:
@ -41,35 +39,29 @@ v1:
type: object type: object
type: object type: object
template: template:
description: ArangoBackupTemplate specifies additional options for newly description: ArangoBackupTemplate specifies additional options for newly created ArangoBackup
created ArangoBackup
properties: properties:
backoff: backoff:
properties: properties:
iterations: iterations:
description: Iterations defines number of iterations before reaching description: Iterations defines number of iterations before reaching MaxDelay. Default to 5
MaxDelay. Default to 5
format: int32 format: int32
type: integer type: integer
max_delay: max_delay:
description: MaxDelay defines maximum delay in seconds. Default description: MaxDelay defines maximum delay in seconds. Default to 600
to 600
format: int32 format: int32
type: integer type: integer
max_iterations: max_iterations:
description: MaxIterations defines maximum number of iterations description: MaxIterations defines maximum number of iterations after backoff will be disabled. Default to nil (no limit)
after backoff will be disabled. Default to nil (no limit)
format: int32 format: int32
type: integer type: integer
min_delay: min_delay:
description: MinDelay defines minimum delay in seconds. Default description: MinDelay defines minimum delay in seconds. Default to 30
to 30
format: int32 format: int32
type: integer type: integer
type: object type: object
lifetime: lifetime:
description: 'Lifetime is the time after which the backup will be description: 'Lifetime is the time after which the backup will be deleted. Format: "1.5h" or "2h45m".'
deleted. Format: "1.5h" or "2h45m".'
type: string type: string
options: options:
properties: properties:
@ -79,16 +71,14 @@ v1:
If this value is set to true, backup is taken even if we are not able to acquire lock. If this value is set to true, backup is taken even if we are not able to acquire lock.
type: boolean type: boolean
timeout: timeout:
description: Timeout for Backup creation request in seconds. Works description: Timeout for Backup creation request in seconds. Works only when AsyncBackupCreation feature is set to false.
only when AsyncBackupCreation feature is set to false.
format: float format: float
type: number type: number
type: object type: object
upload: upload:
properties: properties:
credentialsSecretName: credentialsSecretName:
description: CredentialsSecretName is the name of the secret used description: CredentialsSecretName is the name of the secret used while accessing repository
while accessing repository
type: string type: string
repositoryURL: repositoryURL:
description: |- description: |-
@ -107,8 +97,7 @@ v1alpha:
spec: spec:
properties: properties:
allowConcurrent: allowConcurrent:
description: AllowConcurrent if false, ArangoBackup will not be created description: AllowConcurrent if false, ArangoBackup will not be created when previous Backups are not finished
when previous Backups are not finished
type: boolean type: boolean
maxBackups: maxBackups:
description: |- description: |-
@ -122,8 +111,7 @@ v1alpha:
Parsed by https://godoc.org/github.com/robfig/cron Parsed by https://godoc.org/github.com/robfig/cron
type: string type: string
selector: selector:
description: DeploymentSelector Selector definition for selecting matching description: DeploymentSelector Selector definition for selecting matching ArangoBackup Custom Resources.
ArangoBackup Custom Resources.
properties: properties:
matchExpressions: matchExpressions:
items: items:
@ -144,35 +132,29 @@ v1alpha:
type: object type: object
type: object type: object
template: template:
description: ArangoBackupTemplate specifies additional options for newly description: ArangoBackupTemplate specifies additional options for newly created ArangoBackup
created ArangoBackup
properties: properties:
backoff: backoff:
properties: properties:
iterations: iterations:
description: Iterations defines number of iterations before reaching description: Iterations defines number of iterations before reaching MaxDelay. Default to 5
MaxDelay. Default to 5
format: int32 format: int32
type: integer type: integer
max_delay: max_delay:
description: MaxDelay defines maximum delay in seconds. Default description: MaxDelay defines maximum delay in seconds. Default to 600
to 600
format: int32 format: int32
type: integer type: integer
max_iterations: max_iterations:
description: MaxIterations defines maximum number of iterations description: MaxIterations defines maximum number of iterations after backoff will be disabled. Default to nil (no limit)
after backoff will be disabled. Default to nil (no limit)
format: int32 format: int32
type: integer type: integer
min_delay: min_delay:
description: MinDelay defines minimum delay in seconds. Default description: MinDelay defines minimum delay in seconds. Default to 30
to 30
format: int32 format: int32
type: integer type: integer
type: object type: object
lifetime: lifetime:
description: 'Lifetime is the time after which the backup will be description: 'Lifetime is the time after which the backup will be deleted. Format: "1.5h" or "2h45m".'
deleted. Format: "1.5h" or "2h45m".'
type: string type: string
options: options:
properties: properties:
@ -182,16 +164,14 @@ v1alpha:
If this value is set to true, backup is taken even if we are not able to acquire lock. If this value is set to true, backup is taken even if we are not able to acquire lock.
type: boolean type: boolean
timeout: timeout:
description: Timeout for Backup creation request in seconds. Works description: Timeout for Backup creation request in seconds. Works only when AsyncBackupCreation feature is set to false.
only when AsyncBackupCreation feature is set to false.
format: float format: float
type: number type: number
type: object type: object
upload: upload:
properties: properties:
credentialsSecretName: credentialsSecretName:
description: CredentialsSecretName is the name of the secret used description: CredentialsSecretName is the name of the secret used while accessing repository
while accessing repository
type: string type: string
repositoryURL: repositoryURL:
description: |- description: |-

File diff suppressed because it is too large Load diff

View file

@ -23,8 +23,7 @@ v1:
description: Overrides define Member Overrides (Override values from ServerGroup). description: Overrides define Member Overrides (Override values from ServerGroup).
properties: properties:
resources: resources:
description: Resources holds resource requests & limits. Overrides description: Resources holds resource requests & limits. Overrides template provided on the group level.
template provided on the group level.
properties: properties:
limits: limits:
additionalProperties: additionalProperties:
@ -36,8 +35,7 @@ v1:
type: object type: object
type: object type: object
volumeClaimTemplate: volumeClaimTemplate:
description: VolumeClaimTemplate specifies a template for volume claims. description: VolumeClaimTemplate specifies a template for volume claims. Overrides template provided on the group level.
Overrides template provided on the group level.
properties: properties:
apiVersion: apiVersion:
type: string type: string
@ -222,8 +220,7 @@ v1:
type: object type: object
type: object type: object
template: template:
description: Template keeps template which is gonna be applied on the description: Template keeps template which is gonna be applied on the Pod.
Pod.
properties: properties:
checksum: checksum:
description: Checksum keep the Pod Spec Checksum (with ignored fields). description: Checksum keep the Pod Spec Checksum (with ignored fields).
@ -2945,8 +2942,7 @@ v1:
type: object type: object
type: object type: object
podSpecChecksum: podSpecChecksum:
description: PodSpecChecksum keep the Pod Spec Checksum (without ignored description: PodSpecChecksum keep the Pod Spec Checksum (without ignored fields).
fields).
type: string type: string
type: object type: object
type: object type: object
@ -2977,8 +2973,7 @@ v1alpha:
description: Overrides define Member Overrides (Override values from ServerGroup). description: Overrides define Member Overrides (Override values from ServerGroup).
properties: properties:
resources: resources:
description: Resources holds resource requests & limits. Overrides description: Resources holds resource requests & limits. Overrides template provided on the group level.
template provided on the group level.
properties: properties:
limits: limits:
additionalProperties: additionalProperties:
@ -2990,8 +2985,7 @@ v1alpha:
type: object type: object
type: object type: object
volumeClaimTemplate: volumeClaimTemplate:
description: VolumeClaimTemplate specifies a template for volume claims. description: VolumeClaimTemplate specifies a template for volume claims. Overrides template provided on the group level.
Overrides template provided on the group level.
properties: properties:
apiVersion: apiVersion:
type: string type: string
@ -3176,8 +3170,7 @@ v1alpha:
type: object type: object
type: object type: object
template: template:
description: Template keeps template which is gonna be applied on the description: Template keeps template which is gonna be applied on the Pod.
Pod.
properties: properties:
checksum: checksum:
description: Checksum keep the Pod Spec Checksum (with ignored fields). description: Checksum keep the Pod Spec Checksum (with ignored fields).
@ -5899,8 +5892,7 @@ v1alpha:
type: object type: object
type: object type: object
podSpecChecksum: podSpecChecksum:
description: PodSpecChecksum keep the Pod Spec Checksum (without ignored description: PodSpecChecksum keep the Pod Spec Checksum (without ignored fields).
fields).
type: string type: string
type: object type: object
type: object type: object
@ -5931,8 +5923,7 @@ v2alpha1:
description: Overrides define Member Overrides (Override values from ServerGroup). description: Overrides define Member Overrides (Override values from ServerGroup).
properties: properties:
resources: resources:
description: Resources holds resource requests & limits. Overrides description: Resources holds resource requests & limits. Overrides template provided on the group level.
template provided on the group level.
properties: properties:
limits: limits:
additionalProperties: additionalProperties:
@ -5944,8 +5935,7 @@ v2alpha1:
type: object type: object
type: object type: object
volumeClaimTemplate: volumeClaimTemplate:
description: VolumeClaimTemplate specifies a template for volume claims. description: VolumeClaimTemplate specifies a template for volume claims. Overrides template provided on the group level.
Overrides template provided on the group level.
properties: properties:
apiVersion: apiVersion:
type: string type: string
@ -6130,8 +6120,7 @@ v2alpha1:
type: object type: object
type: object type: object
template: template:
description: Template keeps template which is gonna be applied on the description: Template keeps template which is gonna be applied on the Pod.
Pod.
properties: properties:
checksum: checksum:
description: Checksum keep the Pod Spec Checksum (with ignored fields). description: Checksum keep the Pod Spec Checksum (with ignored fields).
@ -8853,8 +8842,7 @@ v2alpha1:
type: object type: object
type: object type: object
podSpecChecksum: podSpecChecksum:
description: PodSpecChecksum keep the Pod Spec Checksum (without ignored description: PodSpecChecksum keep the Pod Spec Checksum (without ignored fields).
fields).
type: string type: string
type: object type: object
type: object type: object

View file

@ -20,8 +20,7 @@ v1:
destination: destination:
properties: properties:
auth: auth:
description: Authentication holds settings needed to authentication description: Authentication holds settings needed to authentication at the syncmaster.
at the syncmaster.
properties: properties:
keyfileSecretName: keyfileSecretName:
description: |- description: |-
@ -54,8 +53,7 @@ v1:
type: string type: string
type: array type: array
tls: tls:
description: TLS holds settings needed to verify the TLS connection description: TLS holds settings needed to verify the TLS connection to the syncmaster.
to the syncmaster.
properties: properties:
caSecretName: caSecretName:
description: |- description: |-
@ -67,8 +65,7 @@ v1:
source: source:
properties: properties:
auth: auth:
description: Authentication holds settings needed to authentication description: Authentication holds settings needed to authentication at the syncmaster.
at the syncmaster.
properties: properties:
keyfileSecretName: keyfileSecretName:
description: |- description: |-
@ -101,8 +98,7 @@ v1:
type: string type: string
type: array type: array
tls: tls:
description: TLS holds settings needed to verify the TLS connection description: TLS holds settings needed to verify the TLS connection to the syncmaster.
to the syncmaster.
properties: properties:
caSecretName: caSecretName:
description: |- description: |-
@ -136,8 +132,7 @@ v1alpha:
destination: destination:
properties: properties:
auth: auth:
description: Authentication holds settings needed to authentication description: Authentication holds settings needed to authentication at the syncmaster.
at the syncmaster.
properties: properties:
keyfileSecretName: keyfileSecretName:
description: |- description: |-
@ -170,8 +165,7 @@ v1alpha:
type: string type: string
type: array type: array
tls: tls:
description: TLS holds settings needed to verify the TLS connection description: TLS holds settings needed to verify the TLS connection to the syncmaster.
to the syncmaster.
properties: properties:
caSecretName: caSecretName:
description: |- description: |-
@ -183,8 +177,7 @@ v1alpha:
source: source:
properties: properties:
auth: auth:
description: Authentication holds settings needed to authentication description: Authentication holds settings needed to authentication at the syncmaster.
at the syncmaster.
properties: properties:
keyfileSecretName: keyfileSecretName:
description: |- description: |-
@ -217,8 +210,7 @@ v1alpha:
type: string type: string
type: array type: array
tls: tls:
description: TLS holds settings needed to verify the TLS connection description: TLS holds settings needed to verify the TLS connection to the syncmaster.
to the syncmaster.
properties: properties:
caSecretName: caSecretName:
description: |- description: |-
@ -252,8 +244,7 @@ v2alpha1:
destination: destination:
properties: properties:
auth: auth:
description: Authentication holds settings needed to authentication description: Authentication holds settings needed to authentication at the syncmaster.
at the syncmaster.
properties: properties:
keyfileSecretName: keyfileSecretName:
description: |- description: |-
@ -274,26 +265,22 @@ v2alpha1:
If set this provides default values for masterEndpoint, auth & tls. If set this provides default values for masterEndpoint, auth & tls.
type: string type: string
masterEndpoint: masterEndpoint:
description: MasterEndpoint holds a list of URLs used to reach the description: MasterEndpoint holds a list of URLs used to reach the syncmaster(s).
syncmaster(s).
items: items:
type: string type: string
type: array type: array
tls: tls:
description: TLS holds settings needed to verify the TLS connection description: TLS holds settings needed to verify the TLS connection to the syncmaster.
to the syncmaster.
properties: properties:
caSecretName: caSecretName:
description: CASecretName holds the name of a Secret containing description: CASecretName holds the name of a Secret containing a ca.crt public key for TLS validation.
a ca.crt public key for TLS validation.
type: string type: string
type: object type: object
type: object type: object
source: source:
properties: properties:
auth: auth:
description: Authentication holds settings needed to authentication description: Authentication holds settings needed to authentication at the syncmaster.
at the syncmaster.
properties: properties:
keyfileSecretName: keyfileSecretName:
description: |- description: |-
@ -314,18 +301,15 @@ v2alpha1:
If set this provides default values for masterEndpoint, auth & tls. If set this provides default values for masterEndpoint, auth & tls.
type: string type: string
masterEndpoint: masterEndpoint:
description: MasterEndpoint holds a list of URLs used to reach the description: MasterEndpoint holds a list of URLs used to reach the syncmaster(s).
syncmaster(s).
items: items:
type: string type: string
type: array type: array
tls: tls:
description: TLS holds settings needed to verify the TLS connection description: TLS holds settings needed to verify the TLS connection to the syncmaster.
to the syncmaster.
properties: properties:
caSecretName: caSecretName:
description: CASecretName holds the name of a Secret containing description: CASecretName holds the name of a Secret containing a ca.crt public key for TLS validation.
a ca.crt public key for TLS validation.
type: string type: string
type: object type: object
type: object type: object

View file

@ -4,28 +4,24 @@ v1alpha:
spec: spec:
properties: properties:
localPath: localPath:
description: LocalPath setting specifies one or more local directories description: LocalPath setting specifies one or more local directories (on the nodes) used to create persistent volumes in.
(on the nodes) used to create persistent volumes in.
items: items:
type: string type: string
type: array type: array
nodeSelector: nodeSelector:
additionalProperties: additionalProperties:
type: string type: string
description: NodeSelector setting specifies which nodes the operator will description: NodeSelector setting specifies which nodes the operator will provision persistent volumes on.
provision persistent volumes on.
type: object type: object
podCustomization: podCustomization:
properties: properties:
priority: priority:
description: Priority if defined, sets the priority for pods of storage description: Priority if defined, sets the priority for pods of storage provisioner
provisioner
format: int32 format: int32
type: integer type: integer
type: object type: object
privileged: privileged:
description: Privileged if set, passes Privileged flag to SecurityContext description: Privileged if set, passes Privileged flag to SecurityContext for pods of storage provisioner
for pods of storage provisioner
type: boolean type: boolean
storageClass: storageClass:
properties: properties:
@ -42,13 +38,11 @@ v1alpha:
If a `StorageClass` with given name does not yet exist, it will be created. If a `StorageClass` with given name does not yet exist, it will be created.
type: string type: string
reclaimPolicy: reclaimPolicy:
description: ReclaimPolicy defines what happens to a persistent volume description: ReclaimPolicy defines what happens to a persistent volume when released from its claim.
when released from its claim.
type: string type: string
type: object type: object
tolerations: tolerations:
description: Tolerations specifies the tolerations added to pods of storage description: Tolerations specifies the tolerations added to pods of storage provisioner
provisioner
items: items:
properties: properties:
effect: effect: