Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
fix: add scheme to versions service url (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
zalsader authored Aug 29, 2023
1 parent 022ae46 commit 842be01
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/koorcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions bundle/manifests/koor-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:
"monitoringEnabled": true,
"toolboxEnabled": true,
"upgradeOptions": {
"endpoint": "versions.koor.tech",
"endpoint": "https://versions.koor.tech",
"mode": "notify",
"schedule": "0 0 * * *"
},
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/storage.koor.tech_koorclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/koor-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<Timezone>. 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` |
Expand Down
2 changes: 1 addition & 1 deletion charts/koor-operator/additional-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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=<Timezone>.
Expand Down
2 changes: 1 addition & 1 deletion charts/koor-operator/templates/koorcluster-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/koor-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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=<Timezone>.
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/storage.koor.tech_koorclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion config/samples/storage_v1alpha1_koorcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ spec:
toolboxEnabled: true
upgradeOptions:
mode: notify
endpoint: versions.koor.tech
endpoint: https://versions.koor.tech
schedule: 0 0 * * *

0 comments on commit 842be01

Please sign in to comment.