UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Fix upgrade job

Merged Lucas Rodriguez requested to merge fix-upgrade-job into main

The argocd upgrade job was failing in Big Bang CI

Needed to remove the .Values.istio.injection from the conditional wrapped around the logic for killing the istio sidecar container

This value isn't present in the argocd chart, and was causing it to not render out and execute, causing the istio sidecar to stick around and the job to not complete, causing the helm release to fail.

Here's the pipeline now with the job running and terminating successfully - https://repo1.dso.mil/platform-one/big-bang/bigbang/-/pipelines/1084410

Edited by Lucas Rodriguez

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
32 32 kubectl annotate --overwrite crd $crd meta.helm.sh/release-namespace="$YOUR_ARGOCD_NAMESPACE"
33 33 kubectl annotate --overwrite crd $crd meta.helm.sh/release-name="$YOUR_ARGOCD_RELEASENAME"
34 34 done
35 {{- if and .Values.istio.enabled (eq .Values.istio.injection "enabled") }}
35 {{- if and .Values.istio.enabled }}
  • Branden Cobb added 1 commit

    added 1 commit

    Compare with previous version

  • Branden Cobb added 1 commit

    added 1 commit

    • 42848f4e - Update chart/templates/upgrade-job.yaml

    Compare with previous version

  • Branden Cobb added 1 commit

    added 1 commit

    • 52f0c496 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Branden Cobb added 1 commit

    added 1 commit

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading