From 842be01935b984cba0227ad630b7c2ccf2558c2f Mon Sep 17 00:00:00 2001 From: Zuhair AlSader Date: Tue, 29 Aug 2023 01:18:03 -0400 Subject: [PATCH] fix: add scheme to versions service url (#117) --- api/v1alpha1/koorcluster_types.go | 2 +- bundle/manifests/koor-operator.clusterserviceversion.yaml | 4 ++-- bundle/manifests/storage.koor.tech_koorclusters.yaml | 2 +- charts/koor-operator/README.md | 2 +- charts/koor-operator/additional-values.yaml | 2 +- charts/koor-operator/templates/koorcluster-crd.yaml | 2 +- charts/koor-operator/values.yaml | 2 +- config/crd/bases/storage.koor.tech_koorclusters.yaml | 2 +- config/samples/storage_v1alpha1_koorcluster.yaml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/api/v1alpha1/koorcluster_types.go b/api/v1alpha1/koorcluster_types.go index 06ce823..8fba806 100644 --- a/api/v1alpha1/koorcluster_types.go +++ b/api/v1alpha1/koorcluster_types.go @@ -64,7 +64,7 @@ type UpgradeOptions struct { //+kubebuilder:default:=notify Mode UpgradeMode `json:"mode,omitempty"` // The api endpoint used to find the ceph latest version - //+kubebuilder:default:="versions.koor.tech" + //+kubebuilder:default:="https://versions.koor.tech" Endpoint string `json:"endpoint,omitempty"` // The schedule to check for new versions. Uses CRON format as specified by https://github.com/robfig/cron/tree/v3. // Defaults to everyday at midnight in the local timezone. diff --git a/bundle/manifests/koor-operator.clusterserviceversion.yaml b/bundle/manifests/koor-operator.clusterserviceversion.yaml index 59b4931..dbd0e2c 100644 --- a/bundle/manifests/koor-operator.clusterserviceversion.yaml +++ b/bundle/manifests/koor-operator.clusterserviceversion.yaml @@ -23,7 +23,7 @@ metadata: "monitoringEnabled": true, "toolboxEnabled": true, "upgradeOptions": { - "endpoint": "versions.koor.tech", + "endpoint": "https://versions.koor.tech", "mode": "notify", "schedule": "0 0 * * *" }, @@ -32,7 +32,7 @@ metadata: } ] capabilities: Basic Install - createdAt: "2023-08-29T04:48:12Z" + createdAt: "2023-08-29T05:09:22Z" operators.operatorframework.io/builder: operator-sdk-v1.26.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 name: koor-operator.v0.3.5 diff --git a/bundle/manifests/storage.koor.tech_koorclusters.yaml b/bundle/manifests/storage.koor.tech_koorclusters.yaml index fda34cd..213c51b 100644 --- a/bundle/manifests/storage.koor.tech_koorclusters.yaml +++ b/bundle/manifests/storage.koor.tech_koorclusters.yaml @@ -69,7 +69,7 @@ spec: description: Specifies the upgrade options for new ceph versions properties: endpoint: - default: versions.koor.tech + default: https://versions.koor.tech description: The api endpoint used to find the ceph latest version type: string mode: diff --git a/charts/koor-operator/README.md b/charts/koor-operator/README.md index 35d79c0..b1fecff 100644 --- a/charts/koor-operator/README.md +++ b/charts/koor-operator/README.md @@ -60,7 +60,7 @@ The following table lists the configurable parameters of the rook-operator chart | `koorCluster.spec.ksdReleaseName` | The name to use for KSD helm release. | `"ksd"` | | `koorCluster.spec.monitoringEnabled` | If monitoring should be enabled, requires the prometheus-operator to be pre-installed. | `true` | | `koorCluster.spec.toolboxEnabled` | If the Ceph toolbox, should be deployed as well. | `true` | -| `koorCluster.spec.upgradeOptions.endpoint` | The api endpoint used to find the ceph latest version | `"versions.koor.tech"` | +| `koorCluster.spec.upgradeOptions.endpoint` | The api endpoint used to find the ceph latest version | `"https://versions.koor.tech"` | | `koorCluster.spec.upgradeOptions.mode` | Upgrade mode. Options: disabled, notify, upgrade. | `"notify"` | | `koorCluster.spec.upgradeOptions.schedule` | The schedule to check for new versions. Uses CRON format as specified by https://github.com/robfig/cron/tree/v3. Defaults to everyday at midnight in the local timezone. To change the timezone, prefix the schedule with CRON_TZ=. For example: "CRON_TZ=UTC 0 0 * * *" is midnight UTC. | `"0 0 * * *"` | | `koorCluster.spec.useAllDevices` | If all empty + unused devices of the cluster should be used. | `true` | diff --git a/charts/koor-operator/additional-values.yaml b/charts/koor-operator/additional-values.yaml index c1e8249..477ff47 100644 --- a/charts/koor-operator/additional-values.yaml +++ b/charts/koor-operator/additional-values.yaml @@ -15,7 +15,7 @@ koorCluster: # -- Upgrade mode. Options: disabled, notify, upgrade. mode: notify # -- The api endpoint used to find the ceph latest version - endpoint: versions.koor.tech + endpoint: https://versions.koor.tech # -- The schedule to check for new versions. Uses CRON format as specified by https://github.com/robfig/cron/tree/v3. # Defaults to everyday at midnight in the local timezone. # To change the timezone, prefix the schedule with CRON_TZ=. diff --git a/charts/koor-operator/templates/koorcluster-crd.yaml b/charts/koor-operator/templates/koorcluster-crd.yaml index 6e794ae..a123f3f 100644 --- a/charts/koor-operator/templates/koorcluster-crd.yaml +++ b/charts/koor-operator/templates/koorcluster-crd.yaml @@ -71,7 +71,7 @@ spec: description: Specifies the upgrade options for new ceph versions properties: endpoint: - default: versions.koor.tech + default: https://versions.koor.tech description: The api endpoint used to find the ceph latest version type: string mode: diff --git a/charts/koor-operator/values.yaml b/charts/koor-operator/values.yaml index 47a0a1b..930cfc1 100644 --- a/charts/koor-operator/values.yaml +++ b/charts/koor-operator/values.yaml @@ -92,7 +92,7 @@ koorCluster: # -- Upgrade mode. Options: disabled, notify, upgrade. mode: notify # -- The api endpoint used to find the ceph latest version - endpoint: versions.koor.tech + endpoint: https://versions.koor.tech # -- The schedule to check for new versions. Uses CRON format as specified by https://github.com/robfig/cron/tree/v3. # Defaults to everyday at midnight in the local timezone. # To change the timezone, prefix the schedule with CRON_TZ=. diff --git a/config/crd/bases/storage.koor.tech_koorclusters.yaml b/config/crd/bases/storage.koor.tech_koorclusters.yaml index 5fd8e78..33490c9 100644 --- a/config/crd/bases/storage.koor.tech_koorclusters.yaml +++ b/config/crd/bases/storage.koor.tech_koorclusters.yaml @@ -59,7 +59,7 @@ spec: description: Specifies the upgrade options for new ceph versions properties: endpoint: - default: versions.koor.tech + default: https://versions.koor.tech description: The api endpoint used to find the ceph latest version type: string mode: diff --git a/config/samples/storage_v1alpha1_koorcluster.yaml b/config/samples/storage_v1alpha1_koorcluster.yaml index d3c7983..3ea1e2f 100644 --- a/config/samples/storage_v1alpha1_koorcluster.yaml +++ b/config/samples/storage_v1alpha1_koorcluster.yaml @@ -16,5 +16,5 @@ spec: toolboxEnabled: true upgradeOptions: mode: notify - endpoint: versions.koor.tech + endpoint: https://versions.koor.tech schedule: 0 0 * * *