From 0bb13778d8cd7c0e8b8ba297a966282cc355e2e2 Mon Sep 17 00:00:00 2001 From: Gilles Dubois Date: Tue, 31 Oct 2023 15:10:28 +0100 Subject: [PATCH 1/2] doc(readme): minor change on default value --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9721b14..1620115 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ If you have any issues using any other version of Kubernetes / Helm charts, feel ## Get the Chart ```bash -git clone https://github.com/orgs/OCSInventory-NG/OCSInventory-Helm-Chart +git clone https://github.com/OCSInventory-NG/helm-charts ``` ## Installing the Chart @@ -112,7 +112,7 @@ Key | Description | Default `ingress.enabled` | Enable use of ingress controllers | `true` `ingress.hosts` | OCS hosts to create application URLs | `""` `ingress.annotations` | An array of ingress annotations | `{}` -`ingress.basicauth.enabled` | Wether to enable basic auth | `"true"` +`ingress.basicauth.enabled` | Wether to enable basic auth | `"false"` `ingress.basicauth.username` | Username for basic auth | `""` `ingress.basicauth.password` | Password for basic auth | `""` `ingress.basicauth.authRealm` | Basic auth directive | `Authentication Required` From 05a404a519d12010dea2184015584be86ea919d2 Mon Sep 17 00:00:00 2001 From: Gilles Dubois Date: Tue, 31 Oct 2023 15:10:38 +0100 Subject: [PATCH 2/2] refactor(repository): change file hierachy for chart releaser gh actions --- .helmignore => charts/ocsinventory/.helmignore | 0 Chart.lock => charts/ocsinventory/Chart.lock | 0 Chart.yaml => charts/ocsinventory/Chart.yaml | 0 charts/{ => ocsinventory/charts}/mariadb-13.1.3.tgz | Bin .../ocsinventory/templates}/NOTES.txt | 0 .../ocsinventory/templates}/_helpers.tpl | 0 .../ocsinventory/templates}/configmap.yaml | 0 .../ocsinventory/templates}/deployment.yaml | 0 .../ocsinventory/templates}/ingress.yaml | 0 .../ocsinventory/templates}/job-dbcreate.yaml | 0 .../ocsinventory/templates}/pvc.yaml | 0 .../ocsinventory/templates}/secret.yaml | 0 .../ocsinventory/templates}/service.yaml | 0 .../templates}/tests/test-connection.yaml | 0 values.yaml => charts/ocsinventory/values.yaml | 6 +++--- 15 files changed, 3 insertions(+), 3 deletions(-) rename .helmignore => charts/ocsinventory/.helmignore (100%) rename Chart.lock => charts/ocsinventory/Chart.lock (100%) rename Chart.yaml => charts/ocsinventory/Chart.yaml (100%) rename charts/{ => ocsinventory/charts}/mariadb-13.1.3.tgz (100%) rename {templates => charts/ocsinventory/templates}/NOTES.txt (100%) rename {templates => charts/ocsinventory/templates}/_helpers.tpl (100%) rename {templates => charts/ocsinventory/templates}/configmap.yaml (100%) rename {templates => charts/ocsinventory/templates}/deployment.yaml (100%) rename {templates => charts/ocsinventory/templates}/ingress.yaml (100%) rename {templates => charts/ocsinventory/templates}/job-dbcreate.yaml (100%) rename {templates => charts/ocsinventory/templates}/pvc.yaml (100%) rename {templates => charts/ocsinventory/templates}/secret.yaml (100%) rename {templates => charts/ocsinventory/templates}/service.yaml (100%) rename {templates => charts/ocsinventory/templates}/tests/test-connection.yaml (100%) rename values.yaml => charts/ocsinventory/values.yaml (97%) diff --git a/.helmignore b/charts/ocsinventory/.helmignore similarity index 100% rename from .helmignore rename to charts/ocsinventory/.helmignore diff --git a/Chart.lock b/charts/ocsinventory/Chart.lock similarity index 100% rename from Chart.lock rename to charts/ocsinventory/Chart.lock diff --git a/Chart.yaml b/charts/ocsinventory/Chart.yaml similarity index 100% rename from Chart.yaml rename to charts/ocsinventory/Chart.yaml diff --git a/charts/mariadb-13.1.3.tgz b/charts/ocsinventory/charts/mariadb-13.1.3.tgz similarity index 100% rename from charts/mariadb-13.1.3.tgz rename to charts/ocsinventory/charts/mariadb-13.1.3.tgz diff --git a/templates/NOTES.txt b/charts/ocsinventory/templates/NOTES.txt similarity index 100% rename from templates/NOTES.txt rename to charts/ocsinventory/templates/NOTES.txt diff --git a/templates/_helpers.tpl b/charts/ocsinventory/templates/_helpers.tpl similarity index 100% rename from templates/_helpers.tpl rename to charts/ocsinventory/templates/_helpers.tpl diff --git a/templates/configmap.yaml b/charts/ocsinventory/templates/configmap.yaml similarity index 100% rename from templates/configmap.yaml rename to charts/ocsinventory/templates/configmap.yaml diff --git a/templates/deployment.yaml b/charts/ocsinventory/templates/deployment.yaml similarity index 100% rename from templates/deployment.yaml rename to charts/ocsinventory/templates/deployment.yaml diff --git a/templates/ingress.yaml b/charts/ocsinventory/templates/ingress.yaml similarity index 100% rename from templates/ingress.yaml rename to charts/ocsinventory/templates/ingress.yaml diff --git a/templates/job-dbcreate.yaml b/charts/ocsinventory/templates/job-dbcreate.yaml similarity index 100% rename from templates/job-dbcreate.yaml rename to charts/ocsinventory/templates/job-dbcreate.yaml diff --git a/templates/pvc.yaml b/charts/ocsinventory/templates/pvc.yaml similarity index 100% rename from templates/pvc.yaml rename to charts/ocsinventory/templates/pvc.yaml diff --git a/templates/secret.yaml b/charts/ocsinventory/templates/secret.yaml similarity index 100% rename from templates/secret.yaml rename to charts/ocsinventory/templates/secret.yaml diff --git a/templates/service.yaml b/charts/ocsinventory/templates/service.yaml similarity index 100% rename from templates/service.yaml rename to charts/ocsinventory/templates/service.yaml diff --git a/templates/tests/test-connection.yaml b/charts/ocsinventory/templates/tests/test-connection.yaml similarity index 100% rename from templates/tests/test-connection.yaml rename to charts/ocsinventory/templates/tests/test-connection.yaml diff --git a/values.yaml b/charts/ocsinventory/values.yaml similarity index 97% rename from values.yaml rename to charts/ocsinventory/values.yaml index e41f791..7360b7f 100644 --- a/values.yaml +++ b/charts/ocsinventory/values.yaml @@ -92,9 +92,9 @@ ingress: nginx.ingress.kubernetes.io/app-root: /ocsreports/ # nginx.ingress.kubernetes.io/whitelist-source-range: "" basicauth: - enabled: true - username: "test" - password: "test" + enabled: false + username: "" + password: "" authRealm: "Authentication Required" paths: - "/ocsapi"