Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
improvement(helm): enhance upload script for Cloudsmith and update chart version to 1.0.5
Victor Hugo dos Santosf71157c0ec0e
diff --git a/helm-charts/infisical-gateway/Chart.yaml b/helm-charts/infisical-gateway/Chart.yamlindex e694f0ce4f..1a60a4b45f 100644--- a/helm-charts/infisical-gateway/Chart.yaml+++ b/helm-charts/infisical-gateway/Chart.yaml@@ -15,10 +15,10 @@ 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: 1.0.4+version: 1.0.5# 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# follow Semantic Versioning. They should reflect the version the application is using.# It is recommended to use it with quotes.-appVersion: "1.0.4"+appVersion: "1.0.5"diff --git a/helm-charts/upload-gateway-cloudsmith.sh b/helm-charts/upload-gateway-cloudsmith.shindex 0d6fd11c4b..b0a592cf37 100755--- a/helm-charts/upload-gateway-cloudsmith.sh+++ b/helm-charts/upload-gateway-cloudsmith.sh@@ -1,8 +1,25 @@-cd infisical-gateway+#!/usr/bin/env sh+set -e++if [ -z "$CLOUDSMITH_API_KEY" ] || [ -z "$CLOUDSMITH_USERNAME" ]; then+ echo "Error: CLOUDSMITH_API_KEY and CLOUDSMITH_USERNAME environment variables must be set."+ exit 1+fi++cd "infisical-gateway"helm dependency updatehelm package .++echo "$CLOUDSMITH_API_KEY" | helm registry login helm.oci.cloudsmith.io \+ --username "$CLOUDSMITH_USERNAME" \+ --password-stdin+for i in *.tgz; do[ -f "$i" ] || breakcloudsmith push helm --republish infisical/helm-charts "$i"+ helm push "$i" oci://helm.oci.cloudsmith.io/infisical/helm-chartsdone++helm registry logout helm.oci.cloudsmith.io+cd ..\ No newline at end of file