From 87e098bcd77ca4fa908cd483f96f137517090b43 Mon Sep 17 00:00:00 2001 From: Adam Vollrath Date: Mon, 13 Nov 2023 16:06:43 -0600 Subject: [PATCH 1/2] Add troubleshooting section to Helm chart README. --- charts/uffizzi-app/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/charts/uffizzi-app/README.md b/charts/uffizzi-app/README.md index 5adbbb8b..5d91cf77 100644 --- a/charts/uffizzi-app/README.md +++ b/charts/uffizzi-app/README.md @@ -119,6 +119,15 @@ Enter Password: Enter Project Name (default: default): ``` +### Troubleshooting + +When installing this chart, you may see errors like this: +``` +clusterroles.rbac.authorization.k8s.io "my-uffizzi-controller-flux-default-source-controller-helmchart" already exists +``` + +This happens when more than one resource within a dependency chart (in this case `flux`) has a very long name truncated into the same name as another resource. To avoid this, use shorter release names as in the example above. + ## Usage If everything went well, you can now connect to the Uffizzi API service and begin Continously Deploying Previews! Use [the Uffizzi CLI](https://github.com/UffizziCloud/uffizzi_cli) or [the Uffizzi GitHub Action](https://github.com/UffizziCloud/preview-action) or your own API client. From ce7e6afdc1a425c7b3ffee2a4fa6c3beeed7a79d Mon Sep 17 00:00:00 2001 From: Adam Vollrath Date: Mon, 13 Nov 2023 17:55:53 -0600 Subject: [PATCH 2/2] Helm chart version bump --- charts/uffizzi-app/Chart.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/uffizzi-app/Chart.yaml b/charts/uffizzi-app/Chart.yaml index a9dd1d3d..e5ce1379 100644 --- a/charts/uffizzi-app/Chart.yaml +++ b/charts/uffizzi-app/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: uffizzi-app -version: 1.2.2 +version: 1.3.0 kubeVersion: ">= 1.21.0-0" # https://issuetracker.google.com/issues/77503699 description: "Uffizzi is an open-source engine for creating lightweight, ephemeral test environments for APIs and full-stack applications. Uffizzi enables teams to preview new features before merging." type: application @@ -16,6 +16,7 @@ keywords: - ci - cd - cp + - idp home: https://uffizzi.com/ sources: - https://github.com/UffizziCloud/uffizzi @@ -24,11 +25,11 @@ dependencies: version: "^2" repository: https://uffizzicloud.github.io/uffizzi_controller/ - name: postgresql - version: "12.1.11" + version: "~13" repository: https://charts.bitnami.com/bitnami condition: postgresql.enabled - name: redis - version: "17.6.0" + version: "~18" repository: https://charts.bitnami.com/bitnami condition: redis.enabled maintainers: @@ -39,7 +40,7 @@ maintainers: email: adam.vollrath@uffizzi.com url: https://github.com/axisofentropy icon: https://app.uffizzi.com/favicon.png -appVersion: "1.0.0" +appVersion: "2.3.0" deprecated: false annotations: # Use this annotation to indicate that this chart version is a pre-release.