diff --git a/install/kots/manifests/gitpod-certificate-secret.yaml b/install/kots/manifests/gitpod-certificate-secret.yaml index 13c6632c7738fc..c91949b1fb18ed 100644 --- a/install/kots/manifests/gitpod-certificate-secret.yaml +++ b/install/kots/manifests/gitpod-certificate-secret.yaml @@ -2,6 +2,9 @@ apiVersion: v1 kind: Secret metadata: name: https-certificates + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl ConfigOptionEquals "cert_manager_enabled" "0" }}' type: kubernetes.io/tls diff --git a/install/kots/manifests/gitpod-certificate.yaml b/install/kots/manifests/gitpod-certificate.yaml index 008858610dc8c1..7ca85216f5a856 100644 --- a/install/kots/manifests/gitpod-certificate.yaml +++ b/install/kots/manifests/gitpod-certificate.yaml @@ -2,6 +2,9 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: https-certificates + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl or (ConfigOptionEquals "tls_self_signed_enabled" "1") (ConfigOptionEquals "cert_manager_enabled" "1") }}' spec: diff --git a/install/kots/manifests/gitpod-cloudsql-secret.yaml b/install/kots/manifests/gitpod-cloudsql-secret.yaml index fe793369e566df..c337130c701620 100644 --- a/install/kots/manifests/gitpod-cloudsql-secret.yaml +++ b/install/kots/manifests/gitpod-cloudsql-secret.yaml @@ -2,6 +2,9 @@ apiVersion: v1 kind: Secret metadata: name: cloudsql + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl and (ConfigOptionEquals "db_incluster" "0") (ConfigOptionEquals "db_cloudsql_enabled" "1") }}' data: diff --git a/install/kots/manifests/gitpod-config-patch.yaml b/install/kots/manifests/gitpod-config-patch.yaml index caee26ab43f4dc..3a7c257a56e44e 100644 --- a/install/kots/manifests/gitpod-config-patch.yaml +++ b/install/kots/manifests/gitpod-config-patch.yaml @@ -4,5 +4,6 @@ metadata: name: gitpod-config-patch labels: app: gitpod + component: gitpod-installer data: gitpod-config-patch.yaml: '{{repl if and (ConfigOptionEquals "advanced_mode_enabled" "1") (ConfigOptionNotEquals "config_patch" "") }}{{repl ConfigOption "config_patch" }}{{repl else }}{{repl printf "{}" | Base64Encode }}{{repl end }}' \ No newline at end of file diff --git a/install/kots/manifests/gitpod-database-secret.yaml b/install/kots/manifests/gitpod-database-secret.yaml index 56af38bfd867a0..567f7e3c8e9341 100644 --- a/install/kots/manifests/gitpod-database-secret.yaml +++ b/install/kots/manifests/gitpod-database-secret.yaml @@ -2,6 +2,9 @@ apiVersion: v1 kind: Secret metadata: name: database + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl and (ConfigOptionEquals "db_incluster" "0") (ConfigOptionEquals "db_cloudsql_enabled" "0") }}' data: diff --git a/install/kots/manifests/gitpod-dns-gcp-secret.yaml b/install/kots/manifests/gitpod-dns-gcp-secret.yaml index 71e752a6c938f1..a139b4a37009c4 100644 --- a/install/kots/manifests/gitpod-dns-gcp-secret.yaml +++ b/install/kots/manifests/gitpod-dns-gcp-secret.yaml @@ -2,6 +2,9 @@ apiVersion: v1 kind: Secret metadata: name: cert-manager-gcp-dns-solver + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl and (ConfigOptionEquals "cert_manager_enabled" "1") (ConfigOptionEquals "cert_manager_provider" "gcp") }}' data: diff --git a/install/kots/manifests/gitpod-installation.yaml b/install/kots/manifests/gitpod-installation.yaml index 455a5cd4848bf8..f7b90f819903a5 100644 --- a/install/kots/manifests/gitpod-installation.yaml +++ b/install/kots/manifests/gitpod-installation.yaml @@ -3,6 +3,9 @@ apiVersion: v1 kind: ConfigMap metadata: name: gitpod-installation + labels: + app: gitpod + component: gitpod-installer data: channelName: '{{repl ChannelName }}' cursor: '{{repl Cursor }}' diff --git a/install/kots/manifests/gitpod-issuer-azure.yaml b/install/kots/manifests/gitpod-issuer-azure.yaml index 26d5962d8b9406..57a1fd6c05dc0f 100644 --- a/install/kots/manifests/gitpod-issuer-azure.yaml +++ b/install/kots/manifests/gitpod-issuer-azure.yaml @@ -4,6 +4,9 @@ apiVersion: cert-manager.io/v1 kind: ClusterIssuer metadata: name: gitpod-issuer + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl and (ConfigOptionEquals "cert_manager_enabled" "1") (ConfigOptionEquals "cert_manager_provider" "azure") }}' spec: diff --git a/install/kots/manifests/gitpod-issuer-gcp.yaml b/install/kots/manifests/gitpod-issuer-gcp.yaml index 1db88bde0a5ed8..ff86c37845d74b 100644 --- a/install/kots/manifests/gitpod-issuer-gcp.yaml +++ b/install/kots/manifests/gitpod-issuer-gcp.yaml @@ -2,6 +2,9 @@ apiVersion: cert-manager.io/v1 kind: Issuer metadata: name: gitpod-issuer + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl and (ConfigOptionEquals "cert_manager_enabled" "1") (ConfigOptionEquals "cert_manager_provider" "gcp") }}' spec: diff --git a/install/kots/manifests/gitpod-license.yaml b/install/kots/manifests/gitpod-license.yaml index e6696c9d07c710..457c79f8e78b38 100644 --- a/install/kots/manifests/gitpod-license.yaml +++ b/install/kots/manifests/gitpod-license.yaml @@ -2,6 +2,9 @@ apiVersion: v1 kind: Secret metadata: name: gitpod-license + labels: + app: gitpod + component: gitpod-installer data: license: '{{repl LicenseFieldValue "signature" | Base64Encode }}' type: '{{repl printf "replicated" | Base64Encode }}' diff --git a/install/kots/manifests/gitpod-registry-s3-backend.yaml b/install/kots/manifests/gitpod-registry-s3-backend.yaml index cdae5a9ff7190d..14473204c5d8d7 100644 --- a/install/kots/manifests/gitpod-registry-s3-backend.yaml +++ b/install/kots/manifests/gitpod-registry-s3-backend.yaml @@ -2,6 +2,9 @@ apiVersion: v1 kind: Secret metadata: name: container-registry-s3-backend + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl and (ConfigOptionEquals "reg_incluster" "0") (ConfigOptionEquals "reg_s3storage" "1") }}' data: diff --git a/install/kots/manifests/gitpod-storage-azure-secret.yaml b/install/kots/manifests/gitpod-storage-azure-secret.yaml index 5255d56d8180ce..cbecd699d3933e 100644 --- a/install/kots/manifests/gitpod-storage-azure-secret.yaml +++ b/install/kots/manifests/gitpod-storage-azure-secret.yaml @@ -2,6 +2,9 @@ apiVersion: v1 kind: Secret metadata: name: storage-azure + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl ConfigOptionEquals "store_provider" "azure" }}' data: diff --git a/install/kots/manifests/gitpod-storage-gcp-secret.yaml b/install/kots/manifests/gitpod-storage-gcp-secret.yaml index 95da833eae69c1..2485e8ce730a58 100644 --- a/install/kots/manifests/gitpod-storage-gcp-secret.yaml +++ b/install/kots/manifests/gitpod-storage-gcp-secret.yaml @@ -2,6 +2,9 @@ apiVersion: v1 kind: Secret metadata: name: storage-gcp + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl ConfigOptionEquals "store_provider" "gcp" }}' data: diff --git a/install/kots/manifests/gitpod-storage-s3-secret.yaml b/install/kots/manifests/gitpod-storage-s3-secret.yaml index 72933a30b1096c..a8882eae437dc2 100644 --- a/install/kots/manifests/gitpod-storage-s3-secret.yaml +++ b/install/kots/manifests/gitpod-storage-s3-secret.yaml @@ -2,6 +2,9 @@ apiVersion: v1 kind: Secret metadata: name: storage-azure + labels: + app: gitpod + component: gitpod-installer annotations: kots.io/when: '{{repl ConfigOptionEquals "store_provider" "s3" }}' data: