diff --git a/api/catalog/v1alpha1/openapi_generated.go b/api/catalog/v1alpha1/openapi_generated.go index 02dc21e3..8491c9c8 100644 --- a/api/catalog/v1alpha1/openapi_generated.go +++ b/api/catalog/v1alpha1/openapi_generated.go @@ -434,8 +434,16 @@ func schema_catalog_api_catalog_v1alpha1_BindingSpec(ref common.ReferenceCallbac Ref: ref("kmodules.xyz/client-go/api/v1.ObjectReference"), }, }, + "exposeUI": { + SchemaProps: spec.SchemaProps{ + Description: "ExposeUI decides whether the ui should be exposed or not", + Default: false, + Type: []string{"boolean"}, + Format: "", + }, + }, }, - Required: []string{"sourceRef"}, + Required: []string{"sourceRef", "exposeUI"}, }, }, Dependencies: []string{ diff --git a/api/catalog/v1alpha1/shared_types.go b/api/catalog/v1alpha1/shared_types.go index 1865ad93..aa917ef4 100644 --- a/api/catalog/v1alpha1/shared_types.go +++ b/api/catalog/v1alpha1/shared_types.go @@ -73,6 +73,8 @@ const ( type BindingSpec struct { // SourceRef refers to the source app instance. SourceRef kmapi.ObjectReference `json:"sourceRef"` + // ExposeUI decides whether the ui should be exposed or not + ExposeUI bool `json:"exposeUI"` } // +kubebuilder:validation:Enum=Pending;InProgress;Terminating;Current;Failed;Expired diff --git a/crds/catalog.appscode.com_clickhousebindings.yaml b/crds/catalog.appscode.com_clickhousebindings.yaml index 0ce71c18..e865f80e 100644 --- a/crds/catalog.appscode.com_clickhousebindings.yaml +++ b/crds/catalog.appscode.com_clickhousebindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_druidbindings.yaml b/crds/catalog.appscode.com_druidbindings.yaml index 29a3acbb..9064c964 100644 --- a/crds/catalog.appscode.com_druidbindings.yaml +++ b/crds/catalog.appscode.com_druidbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_elasticsearchbindings.yaml b/crds/catalog.appscode.com_elasticsearchbindings.yaml index faf99e62..1dbd80f6 100644 --- a/crds/catalog.appscode.com_elasticsearchbindings.yaml +++ b/crds/catalog.appscode.com_elasticsearchbindings.yaml @@ -60,6 +60,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -77,6 +81,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_ferretdbbindings.yaml b/crds/catalog.appscode.com_ferretdbbindings.yaml index 45c132d1..c520f4ef 100644 --- a/crds/catalog.appscode.com_ferretdbbindings.yaml +++ b/crds/catalog.appscode.com_ferretdbbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_kafkabindings.yaml b/crds/catalog.appscode.com_kafkabindings.yaml index 8567183b..bd45c604 100644 --- a/crds/catalog.appscode.com_kafkabindings.yaml +++ b/crds/catalog.appscode.com_kafkabindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_mariadbbindings.yaml b/crds/catalog.appscode.com_mariadbbindings.yaml index 7e9514d6..90efb1d2 100644 --- a/crds/catalog.appscode.com_mariadbbindings.yaml +++ b/crds/catalog.appscode.com_mariadbbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_memcachedbindings.yaml b/crds/catalog.appscode.com_memcachedbindings.yaml index beac6171..e74d7468 100644 --- a/crds/catalog.appscode.com_memcachedbindings.yaml +++ b/crds/catalog.appscode.com_memcachedbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_mongodbbindings.yaml b/crds/catalog.appscode.com_mongodbbindings.yaml index 98ba7111..8e29a71a 100644 --- a/crds/catalog.appscode.com_mongodbbindings.yaml +++ b/crds/catalog.appscode.com_mongodbbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_mssqlserverbindings.yaml b/crds/catalog.appscode.com_mssqlserverbindings.yaml index a755ba87..78fa1ba5 100644 --- a/crds/catalog.appscode.com_mssqlserverbindings.yaml +++ b/crds/catalog.appscode.com_mssqlserverbindings.yaml @@ -60,6 +60,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -77,6 +81,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_mysqlbindings.yaml b/crds/catalog.appscode.com_mysqlbindings.yaml index a03cabd6..e5057ab6 100644 --- a/crds/catalog.appscode.com_mysqlbindings.yaml +++ b/crds/catalog.appscode.com_mysqlbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_perconaxtradbbindings.yaml b/crds/catalog.appscode.com_perconaxtradbbindings.yaml index 25d2a963..e1e61f46 100644 --- a/crds/catalog.appscode.com_perconaxtradbbindings.yaml +++ b/crds/catalog.appscode.com_perconaxtradbbindings.yaml @@ -60,6 +60,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -77,6 +81,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_pgbouncerbindings.yaml b/crds/catalog.appscode.com_pgbouncerbindings.yaml index f6d41b7f..152c72f8 100644 --- a/crds/catalog.appscode.com_pgbouncerbindings.yaml +++ b/crds/catalog.appscode.com_pgbouncerbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_pgpoolbindings.yaml b/crds/catalog.appscode.com_pgpoolbindings.yaml index 77799c47..607a91d2 100644 --- a/crds/catalog.appscode.com_pgpoolbindings.yaml +++ b/crds/catalog.appscode.com_pgpoolbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_postgresbindings.yaml b/crds/catalog.appscode.com_postgresbindings.yaml index 09078a7a..589b378d 100644 --- a/crds/catalog.appscode.com_postgresbindings.yaml +++ b/crds/catalog.appscode.com_postgresbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_proxysqlbindings.yaml b/crds/catalog.appscode.com_proxysqlbindings.yaml index 74f2aeaa..b794925b 100644 --- a/crds/catalog.appscode.com_proxysqlbindings.yaml +++ b/crds/catalog.appscode.com_proxysqlbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_rabbitmqbindings.yaml b/crds/catalog.appscode.com_rabbitmqbindings.yaml index 31010553..5abf1263 100644 --- a/crds/catalog.appscode.com_rabbitmqbindings.yaml +++ b/crds/catalog.appscode.com_rabbitmqbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_redisbindings.yaml b/crds/catalog.appscode.com_redisbindings.yaml index 83106ba7..208d40c2 100644 --- a/crds/catalog.appscode.com_redisbindings.yaml +++ b/crds/catalog.appscode.com_redisbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_singlestorebindings.yaml b/crds/catalog.appscode.com_singlestorebindings.yaml index 4c49e6c4..3b542aba 100644 --- a/crds/catalog.appscode.com_singlestorebindings.yaml +++ b/crds/catalog.appscode.com_singlestorebindings.yaml @@ -60,6 +60,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -77,6 +81,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_solrbindings.yaml b/crds/catalog.appscode.com_solrbindings.yaml index f4d1698a..62d93f10 100644 --- a/crds/catalog.appscode.com_solrbindings.yaml +++ b/crds/catalog.appscode.com_solrbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: diff --git a/crds/catalog.appscode.com_zookeeperbindings.yaml b/crds/catalog.appscode.com_zookeeperbindings.yaml index c59843c1..61440fda 100644 --- a/crds/catalog.appscode.com_zookeeperbindings.yaml +++ b/crds/catalog.appscode.com_zookeeperbindings.yaml @@ -59,6 +59,10 @@ spec: spec: description: BindingSpec defines the desired state of Binding properties: + exposeUI: + description: ExposeUI decides whether the ui should be exposed or + not + type: boolean sourceRef: description: SourceRef refers to the source app instance. properties: @@ -76,6 +80,7 @@ spec: - name type: object required: + - exposeUI - sourceRef type: object status: