Skip to content

Add helm chart workflow for pipedv1 exp#6200

Merged
khanhtc1202 merged 3 commits into
masterfrom
add-helm-chart-workflow-for-pipedv1-exp
Sep 3, 2025
Merged

Add helm chart workflow for pipedv1 exp#6200
khanhtc1202 merged 3 commits into
masterfrom
add-helm-chart-workflow-for-pipedv1-exp

Conversation

@khanhtc1202
Copy link
Copy Markdown
Member

@khanhtc1202 khanhtc1202 commented Sep 3, 2025

What this PR does:

SSIA

Why we need it:

This makes pipedv1-exp testing easier for users.

Local tested using the following commands:

$ make build/chart MOD=pipedv1-exp VERSION=v1.0.0-rc0
$ helm template pipedv1-exp .artifacts/pipedv1-exp-v1.0.0-rc0.tgz --version=v1.0.0-rc0 --namespace=pipecd --create-namespace --set-file config.data=.dev/pipedv1-config.yaml --set-file secret.data.ssh-key=xxx > OUT.yaml

Which issue(s) this PR fixes:

Part of #4980

Does this PR introduce a user-facing change?:

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.79%. Comparing base (3415269) to head (df1ddc4).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6200      +/-   ##
==========================================
- Coverage   28.80%   28.79%   -0.02%     
==========================================
  Files         559      559              
  Lines       59568    59568              
==========================================
- Hits        17160    17154       -6     
- Misses      41094    41100       +6     
  Partials     1314     1314              
Flag Coverage Δ
. 23.27% <ø> (-0.02%) ⬇️
.-pkg-app-pipedv1-plugin-analysis 32.64% <ø> (ø)
.-pkg-app-pipedv1-plugin-kubernetes 60.24% <ø> (ø)
.-pkg-app-pipedv1-plugin-kubernetes_multicluster 67.48% <ø> (ø)
.-pkg-app-pipedv1-plugin-scriptrun 54.83% <ø> (ø)
.-pkg-app-pipedv1-plugin-terraform 39.49% <ø> (ø)
.-pkg-app-pipedv1-plugin-wait 35.51% <ø> (ø)
.-pkg-app-pipedv1-plugin-waitapproval 55.73% <ø> (ø)
.-pkg-plugin-sdk 50.37% <ø> (ø)
.-tool-actions-gh-release 19.23% <ø> (ø)
.-tool-actions-plan-preview 25.51% <ø> (ø)
.-tool-codegen-protoc-gen-auth 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ffjlabo
Copy link
Copy Markdown
Member

ffjlabo commented Sep 3, 2025

About the diff between manifests/piped and manifests/pipedv1-exp

diff --ignore-all-space --color=always --recursive manifests/piped manifests/pipedv1-exp
diff -u --ignore-all-space --color=always --recursive manifests/piped/Chart.yaml manifests/pipedv1-exp/Chart.yaml
--- manifests/piped/Chart.yaml  2024-06-11 13:31:52
+++ manifests/pipedv1-exp/Chart.yaml    2025-09-03 14:44:14
@@ -1,6 +1,6 @@
 apiVersion: v2
-name: piped
-description: A Helm chart for Piped
+name: pipedv1-exp
+description: A Helm chart for Pipedv1 Experimental

 # A chart can be either an 'application' or a 'library' chart.
 # Application charts are a collection of templates that can be packaged into versioned archives
diff -u --ignore-all-space --color=always --recursive manifests/piped/templates/NOTES.txt manifests/pipedv1-exp/templates/NOTES.txt
--- manifests/piped/templates/NOTES.txt 2024-06-11 13:31:52
+++ manifests/pipedv1-exp/templates/NOTES.txt   2025-09-03 14:44:14
@@ -1 +1 @@
-Now, the installed piped is connecting to {{ .Values.args.address }}.
+Check config map for piped configuration, which provides ControlPlane connecting information.
diff -u --ignore-all-space --color=always --recursive manifests/piped/templates/_helpers.tpl manifests/pipedv1-exp/templates/_helpers.tpl
--- manifests/piped/templates/_helpers.tpl      2025-04-07 15:23:15
+++ manifests/pipedv1-exp/templates/_helpers.tpl        2025-09-03 14:44:14
@@ -152,7 +152,6 @@
 - --config-file=/etc/piped-config/{{ .Values.config.fileName }}
 {{- end }}
 - --metrics={{ .Values.args.metrics }}
-- --enable-default-kubernetes-cloud-provider={{ .Values.args.enableDefaultKubernetesCloudProvider }}
 - --log-encoding={{ .Values.args.logEncoding }}
 - --log-level={{ .Values.args.logLevel }}
 - --add-login-user-to-passwd={{ .Values.args.addLoginUserToPasswd }}
@@ -170,11 +169,9 @@
 - piped
 - --config-file=/etc/piped-config/{{ .Values.config.fileName }}
 - --metrics={{ .Values.args.metrics }}
-- --enable-default-kubernetes-cloud-provider={{ .Values.args.enableDefaultKubernetesCloudProvider }}
 - --log-encoding={{ .Values.args.logEncoding }}
 - --log-level={{ .Values.args.logLevel }}
 - --add-login-user-to-passwd={{ .Values.args.addLoginUserToPasswd }}
-- --app-manifest-cache-count={{ .Values.args.appManifestCacheCount }}
 {{- if .Values.quickstart.enabled }}
 - --insecure=true
 {{- else }}
diff -u --ignore-all-space --color=always --recursive manifests/piped/values.yaml manifests/pipedv1-exp/values.yaml
--- manifests/piped/values.yaml 2025-04-07 15:23:15
+++ manifests/pipedv1-exp/values.yaml   2025-09-03 14:44:14
@@ -1,11 +1,10 @@
 image:
-  repository: ghcr.io/pipe-cd/piped
+  repository: ghcr.io/pipe-cd/pipedv1-exp
   # Overrides the image tag whose default is the chart appVersion.
   tag: ""

 args:
   metrics: true
-  enableDefaultKubernetesCloudProvider: true
   insecure: false
   # One of "humanize", "json", or "console" is available.
   logEncoding: humanize
@@ -16,9 +15,8 @@
   addLoginUserToPasswd: false
   # Ensure that the pod will be restarted by random an annotation value to key rollme.
   forceRestart: true
-  # The number of app manifests to cache. The cache-key contains the commit hash. The default is 150. (default 150)
-  appManifestCacheCount: 150

+# TODO: Support launcher
 launcher:
   enabled: false
   image:

Copy link
Copy Markdown
Member

@ffjlabo ffjlabo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Copy Markdown
Member

@Warashi Warashi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@khanhtc1202 khanhtc1202 merged commit 90f3553 into master Sep 3, 2025
44 of 45 checks passed
@khanhtc1202 khanhtc1202 deleted the add-helm-chart-workflow-for-pipedv1-exp branch September 3, 2025 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants