Skip to content

Commit

Permalink
fix: deployment.container -> deployment.containers (#1406)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
  • Loading branch information
tolusha authored Jun 17, 2022
1 parent c87253d commit 08de5aa
Show file tree
Hide file tree
Showing 9 changed files with 103 additions and 102 deletions.
4 changes: 2 additions & 2 deletions api/v2/checluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,9 @@ type ExternalPluginRegistry struct {

// Deployment custom settings.
type Deployment struct {
// A single application container.
// List of containers belonging to the pod.
// +optional
Containers []Container `json:"container,omitempty"`
Containers []Container `json:"containers,omitempty"`
// Security options the pod should run with.
// +optional
SecurityContext PodSecurityContext `json:"securityContext,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ metadata:
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/eclipse-che/che-operator
support: Eclipse Foundation
name: eclipse-che-preview-openshift.v7.50.0-567.next
name: eclipse-che-preview-openshift.v7.50.0-568.next
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -1408,7 +1408,7 @@ spec:
maturity: stable
provider:
name: Eclipse Foundation
version: 7.50.0-567.next
version: 7.50.0-568.next
webhookdefinitions:
- admissionReviewVersions:
- v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1296,8 +1296,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1442,8 +1442,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1550,8 +1550,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1679,8 +1679,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1774,8 +1774,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1939,8 +1939,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -2197,8 +2197,9 @@ spec:
be distinguished in the configuration by their names:
- `gateway` - `configbump` - `oauth-proxy` - `kube-rbac-proxy`'
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the
pod.
items:
description: Container custom settings.
properties:
Expand Down
28 changes: 14 additions & 14 deletions config/crd/bases/org.eclipse.che_checlusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1257,8 +1257,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1401,8 +1401,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1507,8 +1507,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1634,8 +1634,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1727,8 +1727,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1890,8 +1890,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -2144,8 +2144,8 @@ spec:
be distinguished in the configuration by their names:
- `gateway` - `configbump` - `oauth-proxy` - `kube-rbac-proxy`'
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down
28 changes: 14 additions & 14 deletions deploy/deployment/kubernetes/combined.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -908,8 +908,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -998,8 +998,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1099,8 +1099,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1178,8 +1178,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1314,8 +1314,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1508,8 +1508,8 @@ spec:
deployment:
description: 'Deployment override options. Since gateway deployment consists of several containers, they must be distinguished in the configuration by their names: - `gateway` - `configbump` - `oauth-proxy` - `kube-rbac-proxy`'
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -903,8 +903,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -993,8 +993,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1094,8 +1094,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1173,8 +1173,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1309,8 +1309,8 @@ spec:
deployment:
description: Deployment override options.
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down Expand Up @@ -1503,8 +1503,8 @@ spec:
deployment:
description: 'Deployment override options. Since gateway deployment consists of several containers, they must be distinguished in the configuration by their names: - `gateway` - `configbump` - `oauth-proxy` - `kube-rbac-proxy`'
properties:
container:
description: A single application container.
containers:
description: List of containers belonging to the pod.
items:
description: Container custom settings.
properties:
Expand Down
Loading

0 comments on commit 08de5aa

Please sign in to comment.