Skip to content

Commit 9a824c3

Browse files
authored
fix identation in operatorconfiguration CRD and jsonPath case (zalando#1195)
* fix identation in operatorconfiguration CRD * fix jsonPath field case
1 parent 90799d7 commit 9a824c3

File tree

4 files changed

+44
-44
lines changed

4 files changed

+44
-44
lines changed

charts/postgres-operator/crds/operatorconfigurations.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,38 +26,38 @@ spec:
2626
- name: Image
2727
type: string
2828
description: Spilo image to be used for Pods
29-
JSONPath: .configuration.docker_image
29+
jsonPath: .configuration.docker_image
3030
- name: Cluster-Label
3131
type: string
3232
description: Label for K8s resources created by operator
33-
JSONPath: .configuration.kubernetes.cluster_name_label
33+
jsonPath: .configuration.kubernetes.cluster_name_label
3434
- name: Service-Account
3535
type: string
3636
description: Name of service account to be used
37-
JSONPath: .configuration.kubernetes.pod_service_account_name
37+
jsonPath: .configuration.kubernetes.pod_service_account_name
3838
- name: Min-Instances
3939
type: integer
4040
description: Minimum number of instances per Postgres cluster
41-
JSONPath: .configuration.min_instances
41+
jsonPath: .configuration.min_instances
4242
- name: Age
4343
type: date
44-
JSONPath: .metadata.creationTimestamp
44+
jsonPath: .metadata.creationTimestamp
4545
schema:
4646
openAPIV3Schema:
4747
type: object
4848
required:
4949
- kind
5050
- apiVersion
5151
- configuration
52-
properties:
53-
kind:
54-
type: string
55-
enum:
56-
- OperatorConfiguration
57-
apiVersion:
58-
type: string
59-
enum:
60-
- acid.zalan.do/v1
52+
properties:
53+
kind:
54+
type: string
55+
enum:
56+
- OperatorConfiguration
57+
apiVersion:
58+
type: string
59+
enum:
60+
- acid.zalan.do/v1
6161
configuration:
6262
type: object
6363
properties:

charts/postgres-operator/crds/postgresqls.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,34 +26,34 @@ spec:
2626
- name: Team
2727
type: string
2828
description: Team responsible for Postgres CLuster
29-
JSONPath: .spec.teamId
29+
jsonPath: .spec.teamId
3030
- name: Version
3131
type: string
3232
description: PostgreSQL version
33-
JSONPath: .spec.postgresql.version
33+
jsonPath: .spec.postgresql.version
3434
- name: Pods
3535
type: integer
3636
description: Number of Pods per Postgres cluster
37-
JSONPath: .spec.numberOfInstances
37+
jsonPath: .spec.numberOfInstances
3838
- name: Volume
3939
type: string
4040
description: Size of the bound volume
41-
JSONPath: .spec.volume.size
41+
jsonPath: .spec.volume.size
4242
- name: CPU-Request
4343
type: string
4444
description: Requested CPU for Postgres containers
45-
JSONPath: .spec.resources.requests.cpu
45+
jsonPath: .spec.resources.requests.cpu
4646
- name: Memory-Request
4747
type: string
4848
description: Requested memory for Postgres containers
49-
JSONPath: .spec.resources.requests.memory
49+
jsonPath: .spec.resources.requests.memory
5050
- name: Age
5151
type: date
52-
JSONPath: .metadata.creationTimestamp
52+
jsonPath: .metadata.creationTimestamp
5353
- name: Status
5454
type: string
5555
description: Current sync status of postgresql resource
56-
JSONPath: .status.PostgresClusterStatus
56+
jsonPath: .status.PostgresClusterStatus
5757
schema:
5858
openAPIV3Schema:
5959
type: object

manifests/operatorconfiguration.crd.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,38 @@ spec:
2222
- name: Image
2323
type: string
2424
description: Spilo image to be used for Pods
25-
JSONPath: .configuration.docker_image
25+
jsonPath: .configuration.docker_image
2626
- name: Cluster-Label
2727
type: string
2828
description: Label for K8s resources created by operator
29-
JSONPath: .configuration.kubernetes.cluster_name_label
29+
jsonPath: .configuration.kubernetes.cluster_name_label
3030
- name: Service-Account
3131
type: string
3232
description: Name of service account to be used
33-
JSONPath: .configuration.kubernetes.pod_service_account_name
33+
jsonPath: .configuration.kubernetes.pod_service_account_name
3434
- name: Min-Instances
3535
type: integer
3636
description: Minimum number of instances per Postgres cluster
37-
JSONPath: .configuration.min_instances
37+
jsonPath: .configuration.min_instances
3838
- name: Age
3939
type: date
40-
JSONPath: .metadata.creationTimestamp
40+
jsonPath: .metadata.creationTimestamp
4141
schema:
4242
openAPIV3Schema:
4343
type: object
4444
required:
4545
- kind
4646
- apiVersion
4747
- configuration
48-
properties:
49-
kind:
50-
type: string
51-
enum:
52-
- OperatorConfiguration
53-
apiVersion:
54-
type: string
55-
enum:
56-
- acid.zalan.do/v1
48+
properties:
49+
kind:
50+
type: string
51+
enum:
52+
- OperatorConfiguration
53+
apiVersion:
54+
type: string
55+
enum:
56+
- acid.zalan.do/v1
5757
configuration:
5858
type: object
5959
properties:

manifests/postgresql.crd.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,34 +22,34 @@ spec:
2222
- name: Team
2323
type: string
2424
description: Team responsible for Postgres CLuster
25-
JSONPath: .spec.teamId
25+
jsonPath: .spec.teamId
2626
- name: Version
2727
type: string
2828
description: PostgreSQL version
29-
JSONPath: .spec.postgresql.version
29+
jsonPath: .spec.postgresql.version
3030
- name: Pods
3131
type: integer
3232
description: Number of Pods per Postgres cluster
33-
JSONPath: .spec.numberOfInstances
33+
jsonPath: .spec.numberOfInstances
3434
- name: Volume
3535
type: string
3636
description: Size of the bound volume
37-
JSONPath: .spec.volume.size
37+
jsonPath: .spec.volume.size
3838
- name: CPU-Request
3939
type: string
4040
description: Requested CPU for Postgres containers
41-
JSONPath: .spec.resources.requests.cpu
41+
jsonPath: .spec.resources.requests.cpu
4242
- name: Memory-Request
4343
type: string
4444
description: Requested memory for Postgres containers
45-
JSONPath: .spec.resources.requests.memory
45+
jsonPath: .spec.resources.requests.memory
4646
- name: Age
4747
type: date
48-
JSONPath: .metadata.creationTimestamp
48+
jsonPath: .metadata.creationTimestamp
4949
- name: Status
5050
type: string
5151
description: Current sync status of postgresql resource
52-
JSONPath: .status.PostgresClusterStatus
52+
jsonPath: .status.PostgresClusterStatus
5353
schema:
5454
openAPIV3Schema:
5555
type: object

0 commit comments

Comments
 (0)