From 3b7899ec17ab23786d820e770ec541df96aa40c5 Mon Sep 17 00:00:00 2001 From: Andrii Chubatiuk Date: Thu, 12 Sep 2024 19:02:24 +0300 Subject: [PATCH] oci repo to lower case (#1484) * oci repo to lower case * updated readmes --- .github/workflows/release.yaml | 5 ++--- .gitignore | 2 ++ README.md | 17 +++++++++++---- charts/victoria-logs-single/README.md | 17 +++++++++++---- charts/victoria-logs-single/README.md.gotmpl | 17 +++++++++++---- charts/victoria-metrics-agent/README.md | 19 ++++++++++++----- .../victoria-metrics-agent/README.md.gotmpl | 17 +++++++++++---- charts/victoria-metrics-alert/README.md | 17 +++++++++++---- .../victoria-metrics-alert/README.md.gotmpl | 17 +++++++++++---- charts/victoria-metrics-anomaly/README.md | 17 +++++++++++---- .../victoria-metrics-anomaly/README.md.gotmpl | 17 +++++++++++---- charts/victoria-metrics-auth/README.md | 17 +++++++++++---- charts/victoria-metrics-auth/README.md.gotmpl | 17 +++++++++++---- charts/victoria-metrics-cluster/README.md | 17 +++++++++++---- .../victoria-metrics-cluster/README.md.gotmpl | 17 +++++++++++---- charts/victoria-metrics-distributed/README.md | 17 +++++++++++---- .../README.md.gotmpl | 17 +++++++++++---- charts/victoria-metrics-gateway/Chart.yaml | 2 +- charts/victoria-metrics-gateway/README.md | 21 +++++++++++++------ .../victoria-metrics-gateway/README.md.gotmpl | 19 ++++++++++++----- charts/victoria-metrics-k8s-stack/README.md | 17 +++++++++++---- .../README.md.gotmpl | 17 +++++++++++---- charts/victoria-metrics-operator/README.md | 17 +++++++++++---- .../README.md.gotmpl | 17 +++++++++++---- charts/victoria-metrics-single/README.md | 17 +++++++++++---- .../victoria-metrics-single/README.md.gotmpl | 17 +++++++++++---- 26 files changed, 308 insertions(+), 100 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d137af7fb..c54ec0c96 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -133,9 +133,8 @@ jobs: -u ${{ github.actor }} \ -p ${{ github.token }} \ ghcr.io - for package in $(find .cr-release-packages -name "*.tgz"); do - helm push $package oci://ghcr.io/${{ github.repository_owner }}/charts/; - done + mkdir -p .cr-release-packages + find .cr-release-packages -name "*.tgz" -exec helm push {} oci://ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/helm-charts \; - name: Automatic update changelogs and readme run: | diff --git a/.gitignore b/.gitignore index 08e0fb2eb..d21a30746 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ .DS_Store .vscode/ charts/*/charts/** +.cr-release-packages +.cr-release-packages/** !charts/victoria-metrics-k8s-stack/charts/crds !charts/victoria-metrics-k8s-stack/charts/crds/** .helm/ diff --git a/README.md b/README.md index 699a68d12..697864b20 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List [all charts](#list-of-charts) and versions of `vm` repository available to installation: diff --git a/charts/victoria-logs-single/README.md b/charts/victoria-logs-single/README.md index 49e6b6fc1..64e8465b7 100644 --- a/charts/victoria-logs-single/README.md +++ b/charts/victoria-logs-single/README.md @@ -34,11 +34,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-logs-single`` chart available to installation: diff --git a/charts/victoria-logs-single/README.md.gotmpl b/charts/victoria-logs-single/README.md.gotmpl index b39c6e92f..e9275b1ff 100644 --- a/charts/victoria-logs-single/README.md.gotmpl +++ b/charts/victoria-logs-single/README.md.gotmpl @@ -33,11 +33,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-logs-single`` chart available to installation: diff --git a/charts/victoria-metrics-agent/README.md b/charts/victoria-metrics-agent/README.md index 9570e3e64..64eee6aa8 100644 --- a/charts/victoria-metrics-agent/README.md +++ b/charts/victoria-metrics-agent/README.md @@ -1,7 +1,7 @@ # Helm Chart For Victoria Metrics Agent. -![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.12.1](https://img.shields.io/badge/Version-0.12.1-informational?style=flat-square) +![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.12.2](https://img.shields.io/badge/Version-0.12.2-informational?style=flat-square) [![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/victoriametrics)](https://artifacthub.io/packages/helm/victoriametrics/victoria-metrics-agent) [![Slack](https://img.shields.io/badge/join%20slack-%23victoriametrics-brightgreen.svg)](https://slack.victoriametrics.com/) @@ -17,11 +17,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-agent`` chart available to installation: diff --git a/charts/victoria-metrics-agent/README.md.gotmpl b/charts/victoria-metrics-agent/README.md.gotmpl index 2bd5ad8d4..edf47ad33 100644 --- a/charts/victoria-metrics-agent/README.md.gotmpl +++ b/charts/victoria-metrics-agent/README.md.gotmpl @@ -16,11 +16,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-agent`` chart available to installation: diff --git a/charts/victoria-metrics-alert/README.md b/charts/victoria-metrics-alert/README.md index 6ac9c1bae..f08cbfbdf 100644 --- a/charts/victoria-metrics-alert/README.md +++ b/charts/victoria-metrics-alert/README.md @@ -17,11 +17,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-alert`` chart available to installation: diff --git a/charts/victoria-metrics-alert/README.md.gotmpl b/charts/victoria-metrics-alert/README.md.gotmpl index 788d988dc..b20c5f030 100644 --- a/charts/victoria-metrics-alert/README.md.gotmpl +++ b/charts/victoria-metrics-alert/README.md.gotmpl @@ -16,11 +16,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-alert`` chart available to installation: diff --git a/charts/victoria-metrics-anomaly/README.md b/charts/victoria-metrics-anomaly/README.md index deb241b20..9d3e93987 100644 --- a/charts/victoria-metrics-anomaly/README.md +++ b/charts/victoria-metrics-anomaly/README.md @@ -28,11 +28,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-anomaly`` chart available to installation: diff --git a/charts/victoria-metrics-anomaly/README.md.gotmpl b/charts/victoria-metrics-anomaly/README.md.gotmpl index 697861273..d0962e9ee 100644 --- a/charts/victoria-metrics-anomaly/README.md.gotmpl +++ b/charts/victoria-metrics-anomaly/README.md.gotmpl @@ -27,11 +27,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-anomaly`` chart available to installation: diff --git a/charts/victoria-metrics-auth/README.md b/charts/victoria-metrics-auth/README.md index 7cbe2bc19..661b4fea9 100644 --- a/charts/victoria-metrics-auth/README.md +++ b/charts/victoria-metrics-auth/README.md @@ -17,11 +17,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-auth`` chart available to installation: diff --git a/charts/victoria-metrics-auth/README.md.gotmpl b/charts/victoria-metrics-auth/README.md.gotmpl index 375e296df..0dea33cf9 100644 --- a/charts/victoria-metrics-auth/README.md.gotmpl +++ b/charts/victoria-metrics-auth/README.md.gotmpl @@ -16,11 +16,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-auth`` chart available to installation: diff --git a/charts/victoria-metrics-cluster/README.md b/charts/victoria-metrics-cluster/README.md index d0b8d3f4d..64346cc48 100644 --- a/charts/victoria-metrics-cluster/README.md +++ b/charts/victoria-metrics-cluster/README.md @@ -23,11 +23,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-cluster`` chart available to installation: diff --git a/charts/victoria-metrics-cluster/README.md.gotmpl b/charts/victoria-metrics-cluster/README.md.gotmpl index b13e9e993..7fc74fcc5 100644 --- a/charts/victoria-metrics-cluster/README.md.gotmpl +++ b/charts/victoria-metrics-cluster/README.md.gotmpl @@ -22,11 +22,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-cluster`` chart available to installation: diff --git a/charts/victoria-metrics-distributed/README.md b/charts/victoria-metrics-distributed/README.md index 0e21a1048..7d27acc88 100644 --- a/charts/victoria-metrics-distributed/README.md +++ b/charts/victoria-metrics-distributed/README.md @@ -119,11 +119,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-distributed``` chart available to installation: diff --git a/charts/victoria-metrics-distributed/README.md.gotmpl b/charts/victoria-metrics-distributed/README.md.gotmpl index 60d7d92b0..5fffd31e1 100644 --- a/charts/victoria-metrics-distributed/README.md.gotmpl +++ b/charts/victoria-metrics-distributed/README.md.gotmpl @@ -118,11 +118,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-distributed``` chart available to installation: diff --git a/charts/victoria-metrics-gateway/Chart.yaml b/charts/victoria-metrics-gateway/Chart.yaml index 5744db565..a313aae69 100644 --- a/charts/victoria-metrics-gateway/Chart.yaml +++ b/charts/victoria-metrics-gateway/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 type: application description: Victoria Metrics Gateway - Auth & Rate-Limitting proxy for Victoria Metrics name: victoria-metrics-gateway -version: 0.3.0 +version: 0.4.0 appVersion: v1.103.0 sources: - https://github.com/VictoriaMetrics/helm-charts diff --git a/charts/victoria-metrics-gateway/README.md b/charts/victoria-metrics-gateway/README.md index 4bb6ca971..324bab737 100644 --- a/charts/victoria-metrics-gateway/README.md +++ b/charts/victoria-metrics-gateway/README.md @@ -1,7 +1,7 @@ # Victoria Metrics Helm Chart for vmgateway -![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) +![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) [![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/victoriametrics)](https://artifacthub.io/packages/helm/victoriametrics/victoria-metrics-gateway) [![Slack](https://img.shields.io/badge/join%20slack-%23victoriametrics-brightgreen.svg)](https://slack.victoriametrics.com/) @@ -33,13 +33,22 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` -List versions of ``vm/victoria-metrics-gateway`` chart available to installation: +List versions of `vm/victoria-metrics-gateway` chart available to installation: ```console helm search repo vm/victoria-metrics-gateway -l diff --git a/charts/victoria-metrics-gateway/README.md.gotmpl b/charts/victoria-metrics-gateway/README.md.gotmpl index 755b9c863..ac3d7a70b 100644 --- a/charts/victoria-metrics-gateway/README.md.gotmpl +++ b/charts/victoria-metrics-gateway/README.md.gotmpl @@ -32,13 +32,22 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` -List versions of ``vm/victoria-metrics-gateway`` chart available to installation: +List versions of `vm/victoria-metrics-gateway` chart available to installation: ```console helm search repo vm/victoria-metrics-gateway -l diff --git a/charts/victoria-metrics-k8s-stack/README.md b/charts/victoria-metrics-k8s-stack/README.md index 7b8cb51c7..c46ee5af0 100644 --- a/charts/victoria-metrics-k8s-stack/README.md +++ b/charts/victoria-metrics-k8s-stack/README.md @@ -179,11 +179,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-k8s-stack`` chart available to installation: diff --git a/charts/victoria-metrics-k8s-stack/README.md.gotmpl b/charts/victoria-metrics-k8s-stack/README.md.gotmpl index 38706c8d9..9e09130a6 100644 --- a/charts/victoria-metrics-k8s-stack/README.md.gotmpl +++ b/charts/victoria-metrics-k8s-stack/README.md.gotmpl @@ -181,11 +181,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-k8s-stack`` chart available to installation: diff --git a/charts/victoria-metrics-operator/README.md b/charts/victoria-metrics-operator/README.md index 7ac3941d9..c86db5121 100644 --- a/charts/victoria-metrics-operator/README.md +++ b/charts/victoria-metrics-operator/README.md @@ -79,11 +79,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-operator`` chart available to installation: diff --git a/charts/victoria-metrics-operator/README.md.gotmpl b/charts/victoria-metrics-operator/README.md.gotmpl index 9af867388..967e86895 100644 --- a/charts/victoria-metrics-operator/README.md.gotmpl +++ b/charts/victoria-metrics-operator/README.md.gotmpl @@ -78,11 +78,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-operator`` chart available to installation: diff --git a/charts/victoria-metrics-single/README.md b/charts/victoria-metrics-single/README.md index 9ee0919f6..5480b70f8 100644 --- a/charts/victoria-metrics-single/README.md +++ b/charts/victoria-metrics-single/README.md @@ -23,11 +23,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-single`` chart available to installation: diff --git a/charts/victoria-metrics-single/README.md.gotmpl b/charts/victoria-metrics-single/README.md.gotmpl index 06d926117..6030d4099 100644 --- a/charts/victoria-metrics-single/README.md.gotmpl +++ b/charts/victoria-metrics-single/README.md.gotmpl @@ -22,11 +22,20 @@ Access a Kubernetes cluster. Add a chart helm repository with follow commands: -```console -helm repo add vm https://victoriametrics.github.io/helm-charts/ + - From HTTPS repository -helm repo update -``` + ```console + helm repo add vm https://victoriametrics.github.io/helm-charts/ + + helm repo update + ``` + - From OCI repository + + ```console + helm repo add vm oci://ghcr.io/victoriametrics/helm-charts/ + + helm repo update + ``` List versions of ``vm/victoria-metrics-single`` chart available to installation: