From 459e3ed72844ae0bbf0cc2789ab55ac6d6f8bf85 Mon Sep 17 00:00:00 2001 From: carabasdaniel Date: Tue, 17 Dec 2024 19:01:04 +0200 Subject: [PATCH] Bump chat versions and fix lint --- charts/aserto-lib/Chart.yaml | 2 +- charts/aserto/Chart.lock | 17 ++++++++++------- charts/aserto/Chart.yaml | 18 +++++++++++------- charts/aserto/values.yaml | 3 +++ charts/authorizer/Chart.lock | 6 +++--- charts/authorizer/Chart.yaml | 4 ++-- charts/authorizer/templates/deployment.yaml | 4 ++-- charts/console/Chart.lock | 6 +++--- charts/console/Chart.yaml | 4 ++-- charts/directory/Chart.lock | 6 +++--- charts/directory/Chart.yaml | 4 ++-- charts/directory/templates/_helpers.tpl | 2 +- charts/discovery/Chart.lock | 6 +++--- charts/discovery/Chart.yaml | 4 ++-- charts/discovery/templates/deployment.yaml | 4 ++-- charts/registry-proxy/Chart.lock | 8 ++++---- charts/registry-proxy/Chart.yaml | 4 ++-- .../registry-proxy/templates/deployment.yaml | 13 ++++++++----- charts/scim/Chart.lock | 6 +++--- charts/scim/Chart.yaml | 4 ++-- charts/scim/templates/deployment.yaml | 6 +++--- charts/topaz/Chart.lock | 6 +++--- charts/topaz/Chart.yaml | 4 ++-- 23 files changed, 77 insertions(+), 64 deletions(-) diff --git a/charts/aserto-lib/Chart.yaml b/charts/aserto-lib/Chart.yaml index 30f0ac6..824a4f5 100644 --- a/charts/aserto-lib/Chart.yaml +++ b/charts/aserto-lib/Chart.yaml @@ -21,7 +21,7 @@ type: library # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.0 +version: 0.2.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/aserto/Chart.lock b/charts/aserto/Chart.lock index b202ac6..9a959f5 100644 --- a/charts/aserto/Chart.lock +++ b/charts/aserto/Chart.lock @@ -1,21 +1,24 @@ dependencies: - name: aserto-lib repository: file://../aserto-lib - version: 0.2.0 + version: 0.2.1 - name: directory repository: file://../directory - version: 0.2.0 + version: 0.2.1 - name: authorizer repository: file://../authorizer - version: 0.1.8 + version: 0.1.9 - name: discovery repository: file://../discovery - version: 0.1.7 + version: 0.1.8 - name: console repository: file://../console - version: 0.1.7 + version: 0.1.8 - name: scim repository: file://../scim + version: 0.1.7 +- name: registry-proxy + repository: file://../registry-proxy version: 0.1.6 -digest: sha256:cf562340727b49bf781073f56c582d34924260838ffe33cf4189e4a1b1bf44a2 -generated: "2024-12-17T11:43:37.275465+02:00" +digest: sha256:fd6c9b07fd08aab4b047de3f7bf62acf4192d8c905350256f1ab391e01cc1b51 +generated: "2024-12-17T16:12:49.091933+02:00" diff --git a/charts/aserto/Chart.yaml b/charts/aserto/Chart.yaml index e34f78e..41f8739 100644 --- a/charts/aserto/Chart.yaml +++ b/charts/aserto/Chart.yaml @@ -21,7 +21,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.11 +version: 0.1.12 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -31,25 +31,29 @@ appVersion: "0.1.0" dependencies: - name: aserto-lib - version: 0.2.0 + version: 0.2.1 repository: file://../aserto-lib - name: directory - version: 0.2.0 + version: 0.2.1 repository: file://../directory condition: directory.enabled - name: authorizer - version: 0.1.8 + version: 0.1.9 repository: file://../authorizer condition: authorizer.enabled - name: discovery - version: 0.1.7 + version: 0.1.8 repository: file://../discovery condition: discovery.enabled - name: console - version: 0.1.7 + version: 0.1.8 repository: file://../console condition: console.enabled - name: scim - version: 0.1.6 + version: 0.1.7 repository: file://../scim condition: scim.enabled + - name: registry-proxy + version: 0.1.6 + repository: file://../registry-proxy + condition: registry-proxy.enabled diff --git a/charts/aserto/values.yaml b/charts/aserto/values.yaml index 54338cf..2feb0ff 100644 --- a/charts/aserto/values.yaml +++ b/charts/aserto/values.yaml @@ -208,3 +208,6 @@ scim: # groupMemberRelation: memeber # groupMappings: [] # userMappings: [] + +registry-proxy: + enabled: false diff --git a/charts/authorizer/Chart.lock b/charts/authorizer/Chart.lock index 45a677d..3dc1eba 100644 --- a/charts/authorizer/Chart.lock +++ b/charts/authorizer/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: aserto-lib repository: file://../aserto-lib - version: 0.2.0 -digest: sha256:e847ea16d4c0c170655af988461152ab61eed5372f1639769dd7d198346da272 -generated: "2024-11-26T12:20:11.279944-05:00" + version: 0.2.1 +digest: sha256:83c950a4ee60c07dbc8e045f6645365ca35eced4f1aa329f51c8e2de1de28f93 +generated: "2024-12-17T16:09:37.112996+02:00" diff --git a/charts/authorizer/Chart.yaml b/charts/authorizer/Chart.yaml index eb03047..28f8621 100644 --- a/charts/authorizer/Chart.yaml +++ b/charts/authorizer/Chart.yaml @@ -21,7 +21,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.8 +version: 0.1.9 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -31,5 +31,5 @@ appVersion: "0.14.8" dependencies: - name: aserto-lib - version: 0.2.0 + version: 0.2.1 repository: file://../aserto-lib diff --git a/charts/authorizer/templates/deployment.yaml b/charts/authorizer/templates/deployment.yaml index 7028dac..9461da9 100644 --- a/charts/authorizer/templates/deployment.yaml +++ b/charts/authorizer/templates/deployment.yaml @@ -50,7 +50,7 @@ spec: {{- end }} {{- end }} - {{- with (include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret.name }} + {{- with ((include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret).name }} - name: root-ds-grpc-certs secret: secretName: {{ . }} @@ -101,7 +101,7 @@ spec: readOnly: true {{- end }} - {{- with (include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret.name }} + {{- with ((include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret).name }} - name: root-ds-grpc-certs mountPath: /root-ds-grpc-certs readOnly: true diff --git a/charts/console/Chart.lock b/charts/console/Chart.lock index baad547..47e355a 100644 --- a/charts/console/Chart.lock +++ b/charts/console/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: aserto-lib repository: file://../aserto-lib - version: 0.2.0 -digest: sha256:e847ea16d4c0c170655af988461152ab61eed5372f1639769dd7d198346da272 -generated: "2024-11-26T12:31:22.063478-05:00" + version: 0.2.1 +digest: sha256:83c950a4ee60c07dbc8e045f6645365ca35eced4f1aa329f51c8e2de1de28f93 +generated: "2024-12-17T16:09:37.348401+02:00" diff --git a/charts/console/Chart.yaml b/charts/console/Chart.yaml index 7058779..a45a204 100644 --- a/charts/console/Chart.yaml +++ b/charts/console/Chart.yaml @@ -21,7 +21,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.7 +version: 0.1.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -31,5 +31,5 @@ appVersion: "0.1.14" dependencies: - name: aserto-lib - version: 0.2.0 + version: 0.2.1 repository: file://../aserto-lib diff --git a/charts/directory/Chart.lock b/charts/directory/Chart.lock index a090ca4..ee9df3f 100644 --- a/charts/directory/Chart.lock +++ b/charts/directory/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: aserto-lib repository: file://../aserto-lib - version: 0.2.0 -digest: sha256:e847ea16d4c0c170655af988461152ab61eed5372f1639769dd7d198346da272 -generated: "2024-11-25T13:09:10.771435-05:00" + version: 0.2.1 +digest: sha256:83c950a4ee60c07dbc8e045f6645365ca35eced4f1aa329f51c8e2de1de28f93 +generated: "2024-12-17T16:09:37.673499+02:00" diff --git a/charts/directory/Chart.yaml b/charts/directory/Chart.yaml index fca0e77..b9f05c3 100644 --- a/charts/directory/Chart.yaml +++ b/charts/directory/Chart.yaml @@ -21,7 +21,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.0 +version: 0.2.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -31,5 +31,5 @@ appVersion: "0.33.1" dependencies: - name: aserto-lib - version: 0.2.0 + version: 0.2.1 repository: file://../aserto-lib diff --git a/charts/directory/templates/_helpers.tpl b/charts/directory/templates/_helpers.tpl index f3bc67d..6631cca 100644 --- a/charts/directory/templates/_helpers.tpl +++ b/charts/directory/templates/_helpers.tpl @@ -85,7 +85,7 @@ Create the name of the service account to use {{- if not (.Values.rootDirectory).runService | and (not .Values.rootDS) -}} {{- fail "roodDS configuration is required when running a standalone directory with the root in another deployment."}} {{- end }} -{{- if .Values.rootDS }} +{{- if not .Values.rootDS }} {{ include "aserto-lib.rootDirectoryClient" . }} {{- else -}} address: localhost:{{ include "aserto-lib.grpcPort" . }} diff --git a/charts/discovery/Chart.lock b/charts/discovery/Chart.lock index a386b76..75256a3 100644 --- a/charts/discovery/Chart.lock +++ b/charts/discovery/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: aserto-lib repository: file://../aserto-lib - version: 0.2.0 -digest: sha256:e847ea16d4c0c170655af988461152ab61eed5372f1639769dd7d198346da272 -generated: "2024-11-26T12:31:46.527788-05:00" + version: 0.2.1 +digest: sha256:83c950a4ee60c07dbc8e045f6645365ca35eced4f1aa329f51c8e2de1de28f93 +generated: "2024-12-17T16:09:37.936693+02:00" diff --git a/charts/discovery/Chart.yaml b/charts/discovery/Chart.yaml index c212734..8a18e04 100644 --- a/charts/discovery/Chart.yaml +++ b/charts/discovery/Chart.yaml @@ -21,7 +21,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.7 +version: 0.1.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -31,5 +31,5 @@ appVersion: "0.1.3" dependencies: - name: aserto-lib - version: 0.2.0 + version: 0.2.1 repository: file://../aserto-lib diff --git a/charts/discovery/templates/deployment.yaml b/charts/discovery/templates/deployment.yaml index cd8a1a3..6b5a30a 100644 --- a/charts/discovery/templates/deployment.yaml +++ b/charts/discovery/templates/deployment.yaml @@ -50,7 +50,7 @@ spec: {{- end }} {{- end }} - {{- with (include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret.name }} + {{- with ((include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret).name }} - name: root-ds-grpc-certs secret: secretName: {{ . }} @@ -88,7 +88,7 @@ spec: readOnly: true {{- end }} - {{- with (include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret.name }} + {{- with ((include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret).name }} - name: root-ds-grpc-certs mountPath: /root-ds-grpc-certs readOnly: true diff --git a/charts/registry-proxy/Chart.lock b/charts/registry-proxy/Chart.lock index 8885c96..df14422 100644 --- a/charts/registry-proxy/Chart.lock +++ b/charts/registry-proxy/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: aserto-lib - repository: oci://ghcr.io/aserto-dev/helm - version: 0.1.5 -digest: sha256:42f1409ebeefeb632b83b947714d0be75603167a7b11cadeaf80d4cd437dcda8 -generated: "2024-12-10T16:19:27.984307+02:00" + repository: file://../aserto-lib + version: 0.2.1 +digest: sha256:83c950a4ee60c07dbc8e045f6645365ca35eced4f1aa329f51c8e2de1de28f93 +generated: "2024-12-17T16:14:52.214206+02:00" diff --git a/charts/registry-proxy/Chart.yaml b/charts/registry-proxy/Chart.yaml index 4c1031e..1925731 100644 --- a/charts/registry-proxy/Chart.yaml +++ b/charts/registry-proxy/Chart.yaml @@ -31,5 +31,5 @@ appVersion: "0.14.8" dependencies: - name: aserto-lib - version: ~0.1.4 - repository: oci://ghcr.io/aserto-dev/helm + version: 0.2.1 + repository: file://../aserto-lib diff --git a/charts/registry-proxy/templates/deployment.yaml b/charts/registry-proxy/templates/deployment.yaml index e278a34..0e8bb93 100644 --- a/charts/registry-proxy/templates/deployment.yaml +++ b/charts/registry-proxy/templates/deployment.yaml @@ -50,15 +50,13 @@ spec: {{- end }} {{- end }} - {{- with (include "aserto-lib.rootDirectoryCfg" . | fromYaml) }} - {{- if .grpcCertSecret }} + {{- with ((include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret).name }} - name: root-ds-grpc-certs secret: - secretName: {{ .grpcCertSecret }} + secretName: {{ . }} items: - key: ca.crt - path: ca.crt - {{- end }} + path: ca.crt {{- end }} {{- with (include "aserto-lib.discoveryCfg" . | fromYaml) }} @@ -95,6 +93,11 @@ spec: {{- if (include "aserto-lib.httpsConfig" . | fromYaml).certSecret }} readOnly: true {{- end }} + {{- with ((include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret).name }} + - name: root-ds-grpc-certs + mountPath: /root-ds-grpc-certs + readOnly: true + {{- end }} {{- with (include "aserto-lib.selfPorts" . | fromYaml )}} livenessProbe: diff --git a/charts/scim/Chart.lock b/charts/scim/Chart.lock index 2cd0254..0f036de 100644 --- a/charts/scim/Chart.lock +++ b/charts/scim/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: aserto-lib repository: file://../aserto-lib - version: 0.2.0 -digest: sha256:e847ea16d4c0c170655af988461152ab61eed5372f1639769dd7d198346da272 -generated: "2024-11-26T12:32:19.496426-05:00" + version: 0.2.1 +digest: sha256:83c950a4ee60c07dbc8e045f6645365ca35eced4f1aa329f51c8e2de1de28f93 +generated: "2024-12-17T16:14:52.436288+02:00" diff --git a/charts/scim/Chart.yaml b/charts/scim/Chart.yaml index 9293e21..a433ec5 100644 --- a/charts/scim/Chart.yaml +++ b/charts/scim/Chart.yaml @@ -21,7 +21,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.6 +version: 0.1.7 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -31,5 +31,5 @@ appVersion: "0.0.7" dependencies: - name: aserto-lib - version: 0.2.0 + version: 0.2.1 repository: file://../aserto-lib diff --git a/charts/scim/templates/deployment.yaml b/charts/scim/templates/deployment.yaml index 4cec310..2c9614a 100644 --- a/charts/scim/templates/deployment.yaml +++ b/charts/scim/templates/deployment.yaml @@ -41,10 +41,10 @@ spec: {{- end }} {{- end }} - {{- with (include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret.name }} + {{- with ((include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret).name }} - name: root-ds-grpc-certs secret: - secretName: {{ .caCertSecret.name }} + secretName: {{ . }} items: - key: ca.crt path: ca.crt @@ -70,7 +70,7 @@ spec: readOnly: true {{- end }} - {{- with (include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret.name }} + {{- with ((include "aserto-lib.rootClientCfg" . | fromYaml).caCertSecret).name }} - name: root-ds-grpc-certs mountPath: /root-ds-grpc-certs readOnly: true diff --git a/charts/topaz/Chart.lock b/charts/topaz/Chart.lock index a8c8296..7fa2f0c 100644 --- a/charts/topaz/Chart.lock +++ b/charts/topaz/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: aserto-lib repository: file://../aserto-lib - version: 0.2.0 -digest: sha256:e847ea16d4c0c170655af988461152ab61eed5372f1639769dd7d198346da272 -generated: "2024-11-25T15:54:03.190999-05:00" + version: 0.2.1 +digest: sha256:83c950a4ee60c07dbc8e045f6645365ca35eced4f1aa329f51c8e2de1de28f93 +generated: "2024-12-17T16:14:52.687946+02:00" diff --git a/charts/topaz/Chart.yaml b/charts/topaz/Chart.yaml index 86d6081..516fe1b 100644 --- a/charts/topaz/Chart.yaml +++ b/charts/topaz/Chart.yaml @@ -21,7 +21,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.2 +version: 0.2.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -31,5 +31,5 @@ appVersion: "0.32.38" dependencies: - name: aserto-lib - version: 0.2.0 + version: 0.2.1 repository: file://../aserto-lib