Commit ba4c912e authored by Bertrand Goareguer's avatar Bertrand Goareguer
Browse files

fix: helm diff broken with helm 4

parent e18bf015
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -393,7 +393,7 @@ It uses the following variables:
| Input / Variable | Description                              | Default value     |
| --------------------- | ---------------------------------------- | ----------------- |
| `diff-disabled` / `HELM_DIFF_DISABLED` | Set to `true` to disable Helm Diff before deployment (enabled by default) | `false` (enabled) |
| `diff-args` / `HELM_DIFF_ARGS` | The Helm [command with options](https://github.com/databus23/helm-diff#usage) to show the diff (_without dynamic arguments such as release name or chart_) | `diff upgrade --allow-unreleased --color` |
| `diff-args` / `HELM_DIFF_ARGS` | The Helm [command with options](https://github.com/databus23/helm-diff#usage) to show the diff (_without dynamic arguments such as release name or chart_) | `diff upgrade --allow-unreleased` |

When enabled, this job lets you preview the changes that would be applied by Helm before actually deploying them.

+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@
        {
          "name": "HELM_DIFF_ARGS",
          "description": "The Helm [command with options](https://github.com/databus23/helm-diff#usage) to show diff before deployment (_without dynamic arguments such as release name and chart_)",
          "default": "diff upgrade --allow-unreleased --color",
          "default": "diff upgrade --allow-unreleased",
          "advanced": true
        }
      ]
+2 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ spec:
      default: false
    diff-args:
      description: The Helm [command with options](https://github.com/databus23/helm-diff) to show diff before deployment (_without dynamic arguments such as release name and chart_)
      default: diff upgrade --allow-unreleased --color
      default: diff upgrade --allow-unreleased
    yamllint-disabled:
      description: Disable Yaml Lint
      type: boolean
@@ -1387,6 +1387,7 @@ helm-publish:
  extends: .helm-deploy-base
  stage: package-test
  variables:
    HELM_DIFF_COLOR: "true"
    ENV_APP_SUFFIX: "-$CI_ENVIRONMENT_SLUG"
  before_script:
    - !reference [.helm-scripts]