From 3c8fb39e54a92602ee671f5512651e6bc65d02dd Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Wed, 8 Sep 2021 10:55:29 -0500 Subject: [PATCH] Update shaker helm3 compatability Currently the shaker chart fails to lint with helm3 due to invalid yaml marking characters. This change removes the offending characters to allow us to lint the chart successfully with helm3. Change-Id: Ieb1ebbeadc4ce12711090060def659709c070b94 --- releasenotes/notes/shaker.yaml | 1 + shaker/Chart.yaml | 2 +- shaker/templates/job-image-repo-sync.yaml | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/releasenotes/notes/shaker.yaml b/releasenotes/notes/shaker.yaml index 252892c3b..acc3199a9 100644 --- a/releasenotes/notes/shaker.yaml +++ b/releasenotes/notes/shaker.yaml @@ -3,4 +3,5 @@ shaker: - 0.1.0 Initial Chart - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 0.1.2 Use full image ref for docker official images + - 0.1.3 Fix helm3 linting issue ... diff --git a/shaker/Chart.yaml b/shaker/Chart.yaml index 959e48e18..0d623547a 100644 --- a/shaker/Chart.yaml +++ b/shaker/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Shaker name: shaker -version: 0.1.2 +version: 0.1.3 home: https://pyshaker.readthedocs.io/en/latest/index.html icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTlnnEExfz6H9bBFFDxsDm5mVTdKWOt6Hw2_3aJ7hVkNdDdTCrimQ sources: diff --git a/shaker/templates/job-image-repo-sync.yaml b/shaker/templates/job-image-repo-sync.yaml index d62942f9f..12738d942 100644 --- a/shaker/templates/job-image-repo-sync.yaml +++ b/shaker/templates/job-image-repo-sync.yaml @@ -12,9 +12,8 @@ See the License for the specific language governing permissions and limitations under the License. */}} ---- {{- if and .Values.manifests.job_image_repo_sync .Values.images.local_registry.active }} {{- $imageRepoSyncJob := dict "envAll" . "serviceName" "shaker" -}} {{ $imageRepoSyncJob | include "helm-toolkit.manifests.job_image_repo_sync" }} {{- end }} -... +