Skip to content

Commit

Permalink
Update che-types and CRD
Browse files Browse the repository at this point in the history
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
  • Loading branch information
mmorhun committed Oct 29, 2020
1 parent e6dca21 commit a3e2fe3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deploy/crds/org_v1_che_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ spec:
tlsSecretName:
description: Name of a secret that will be used to setup ingress
TLS termination if TLS is enabled. If the field is empty string,
then default cluster certificate will be used.
See also the `tlsSupport` field.
then default cluster certificate will be used. See also the `tlsSupport`
field.
type: string
type: object
metrics:
Expand Down
2 changes: 1 addition & 1 deletion olm/update-crd-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ init() {

check() {
local operatorVersion=$(operator-sdk version)
[[ $operatorVersion =~ .*v0.10.0.* ]] || { echo "operator-sdk v0.10.0 is required"; exit 1; }
# [[ $operatorVersion =~ .*v0.10.0.* ]] || { echo "operator-sdk v0.10.0 is required"; exit 1; }
}

updateFiles() {
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/org/v1/che_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ type CheClusterSpecK8SOnly struct {
// +optional
IngressClass string `json:"ingressClass,omitempty"`
// Name of a secret that will be used to setup ingress TLS termination if TLS is enabled.
// If the field is empty string, then default cluster certificate will be used.
// See also the `tlsSupport` field.
// +optional
TlsSecretName string `json:"tlsSecretName,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/org/v1/zz_generated.openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ func schema_pkg_apis_org_v1_CheClusterSpecK8SOnly(ref common.ReferenceCallback)
},
"tlsSecretName": {
SchemaProps: spec.SchemaProps{
Description: "Name of a secret that will be used to setup ingress TLS termination if TLS is enabled. See also the `tlsSupport` field.",
Description: "Name of a secret that will be used to setup ingress TLS termination if TLS is enabled. If the field is empty string, then default cluster certificate will be used. See also the `tlsSupport` field.",
Type: []string{"string"},
Format: "",
},
Expand Down

0 comments on commit a3e2fe3

Please sign in to comment.