- 
                Notifications
    
You must be signed in to change notification settings  - Fork 596
 
Update helm upgrade from repo to 0.4 #1318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update helm upgrade from repo to 0.4 #1318
Conversation
| 
           Hi @vampire-yuta. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with  Once the patch is verified, the new status will be reflected by the  I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.  | 
    
          Catlin OutputCatlin script lint Output | 
    
          Diff between version 0.3 and 0.4diff --git a/task/helm-upgrade-from-repo/0.3/README.md b/task/helm-upgrade-from-repo/0.4/README.md
index 22e914d..fb9dfdf 100644
--- a/task/helm-upgrade-from-repo/0.3/README.md
+++ b/task/helm-upgrade-from-repo/0.4/README.md
@@ -11,7 +11,7 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 ### helm install / upgrade from repo
 
 ```
-kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.3/raw
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
 ```
 
 #### Parameters
diff --git a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
index 0343bbc..951cf42 100644
--- a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml
+++ b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
@@ -48,4 +48,4 @@ spec:
         echo adding updating repo...
         helm repo update
         echo installing helm chart...
-        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)"
+        helm upgrade --wait --install --create-namespace --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)" | 
    
          Diff between version 0.3 and 0.4diff --git a/task/helm-upgrade-from-repo/0.3/README.md b/task/helm-upgrade-from-repo/0.4/README.md
index 22e914d..fb9dfdf 100644
--- a/task/helm-upgrade-from-repo/0.3/README.md
+++ b/task/helm-upgrade-from-repo/0.4/README.md
@@ -11,7 +11,7 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 ### helm install / upgrade from repo
 
 ```
-kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.3/raw
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
 ```
 
 #### Parameters
diff --git a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
index 0343bbc..877c4ad 100644
--- a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml
+++ b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
@@ -4,7 +4,7 @@ kind: Task
 metadata:
   name: helm-upgrade-from-repo
   labels:
-    app.kubernetes.io/version: "0.3"
+    app.kubernetes.io/version: "0.4"
   annotations:
     tekton.dev/categories: Deployment
     tekton.dev/pipelines.minVersion: "0.12.1"
@@ -48,4 +48,4 @@ spec:
         echo adding updating repo...
         helm repo update
         echo installing helm chart...
-        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)"
+        helm upgrade --wait --install --create-namespace --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)" | 
    
          Catlin OutputCatlin script lint Output | 
    
| 
           Hey @vampire-yuta  | 
    
          Diff between version 0.3 and 0.4diff --git a/task/helm-upgrade-from-repo/0.3/README.md b/task/helm-upgrade-from-repo/0.4/README.md
index 22e914d..fb9dfdf 100644
--- a/task/helm-upgrade-from-repo/0.3/README.md
+++ b/task/helm-upgrade-from-repo/0.4/README.md
@@ -11,7 +11,7 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 ### helm install / upgrade from repo
 
 ```
-kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.3/raw
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
 ```
 
 #### Parameters
diff --git a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
index 0343bbc..a34c9a8 100644
--- a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml
+++ b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
@@ -4,7 +4,7 @@ kind: Task
 metadata:
   name: helm-upgrade-from-repo
   labels:
-    app.kubernetes.io/version: "0.3"
+    app.kubernetes.io/version: "0.4"
   annotations:
     tekton.dev/categories: Deployment
     tekton.dev/pipelines.minVersion: "0.12.1"
@@ -35,6 +35,9 @@ spec:
     - name: helm_image
       description: "Specify a specific helm image"
       default: "docker.io/lachlanevenson/k8s-helm@sha256:0a068ae407e21d1836c6a89a1e9e81af1e55fa56890998e33d5caabdbb51e77b" # tag: v3.10.2
+    - name: upgrade_extra_params
+      description: "Extra parameters passed for the helm upgrade command"
+      default: ""
   steps:
     - name: upgrade-from-repo
       image: $(params.helm_image)
@@ -48,4 +51,4 @@ spec:
         echo adding updating repo...
         helm repo update
         echo installing helm chart...
-        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)"
+        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)" $(params.upgrade_extra_params)
diff --git a/task/helm-upgrade-from-repo/0.3/tests/run.yaml b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
index d728495..0d8a066 100644
--- a/task/helm-upgrade-from-repo/0.3/tests/run.yaml
+++ b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
@@ -19,6 +19,8 @@ spec:
           value: helm-repo-sample
         - name: overwrite_values
           value: autoscaling.enabled=false,autoscaling.maxReplicas=3
+        - name: upgrade_extra_params
+          value: "--create-namespace --force --timeout 10m0s"
 ---
 apiVersion: tekton.dev/v1beta1
 kind: PipelineRun | 
    
          Catlin OutputCatlin script lint Output | 
    
          Diff between version 0.3 and 0.4diff --git a/task/helm-upgrade-from-repo/0.3/README.md b/task/helm-upgrade-from-repo/0.4/README.md
index 22e914d..8a24eba 100644
--- a/task/helm-upgrade-from-repo/0.3/README.md
+++ b/task/helm-upgrade-from-repo/0.4/README.md
@@ -11,7 +11,7 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 ### helm install / upgrade from repo
 
 ```
-kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.3/raw
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
 ```
 
 #### Parameters
@@ -22,6 +22,7 @@ kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade
 - **release_namespace**: The namespace in which the release is to be installed (*default: ""*)
 - **overwrite_values**: The values to be overwritten (*default: ""*)
 - **helm_image**: The helm image which should be used (default: lachlanevenson/k8s-helm:v3.5.0)
+- **upgrade_extra_params**: Extra parameters passed for the helm upgrade command (*default: ""*)
 
 #### Platforms
 
diff --git a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
index 0343bbc..a34c9a8 100644
--- a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml
+++ b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
@@ -4,7 +4,7 @@ kind: Task
 metadata:
   name: helm-upgrade-from-repo
   labels:
-    app.kubernetes.io/version: "0.3"
+    app.kubernetes.io/version: "0.4"
   annotations:
     tekton.dev/categories: Deployment
     tekton.dev/pipelines.minVersion: "0.12.1"
@@ -35,6 +35,9 @@ spec:
     - name: helm_image
       description: "Specify a specific helm image"
       default: "docker.io/lachlanevenson/k8s-helm@sha256:0a068ae407e21d1836c6a89a1e9e81af1e55fa56890998e33d5caabdbb51e77b" # tag: v3.10.2
+    - name: upgrade_extra_params
+      description: "Extra parameters passed for the helm upgrade command"
+      default: ""
   steps:
     - name: upgrade-from-repo
       image: $(params.helm_image)
@@ -48,4 +51,4 @@ spec:
         echo adding updating repo...
         helm repo update
         echo installing helm chart...
-        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)"
+        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)" $(params.upgrade_extra_params)
diff --git a/task/helm-upgrade-from-repo/0.3/tests/run.yaml b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
index d728495..0d8a066 100644
--- a/task/helm-upgrade-from-repo/0.3/tests/run.yaml
+++ b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
@@ -19,6 +19,8 @@ spec:
           value: helm-repo-sample
         - name: overwrite_values
           value: autoscaling.enabled=false,autoscaling.maxReplicas=3
+        - name: upgrade_extra_params
+          value: "--create-namespace --force --timeout 10m0s"
 ---
 apiVersion: tekton.dev/v1beta1
 kind: PipelineRun | 
    
          Catlin OutputCatlin script lint Output | 
    
| 
           @fhopfensperger I thinked adding upgrade_extra_params params than adding params "--create-namespace" . I use as reference simirar implemental. 
  | 
    
| 
           /ok-to-test  | 
    
          Diff between version 0.3 and 0.4diff --git a/task/helm-upgrade-from-repo/0.3/README.md b/task/helm-upgrade-from-repo/0.4/README.md
index 22e914d..8a24eba 100644
--- a/task/helm-upgrade-from-repo/0.3/README.md
+++ b/task/helm-upgrade-from-repo/0.4/README.md
@@ -11,7 +11,7 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 ### helm install / upgrade from repo
 
 ```
-kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.3/raw
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
 ```
 
 #### Parameters
@@ -22,6 +22,7 @@ kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade
 - **release_namespace**: The namespace in which the release is to be installed (*default: ""*)
 - **overwrite_values**: The values to be overwritten (*default: ""*)
 - **helm_image**: The helm image which should be used (default: lachlanevenson/k8s-helm:v3.5.0)
+- **upgrade_extra_params**: Extra parameters passed for the helm upgrade command (*default: ""*)
 
 #### Platforms
 
diff --git a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
index 0343bbc..a34c9a8 100644
--- a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml
+++ b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
@@ -4,7 +4,7 @@ kind: Task
 metadata:
   name: helm-upgrade-from-repo
   labels:
-    app.kubernetes.io/version: "0.3"
+    app.kubernetes.io/version: "0.4"
   annotations:
     tekton.dev/categories: Deployment
     tekton.dev/pipelines.minVersion: "0.12.1"
@@ -35,6 +35,9 @@ spec:
     - name: helm_image
       description: "Specify a specific helm image"
       default: "docker.io/lachlanevenson/k8s-helm@sha256:0a068ae407e21d1836c6a89a1e9e81af1e55fa56890998e33d5caabdbb51e77b" # tag: v3.10.2
+    - name: upgrade_extra_params
+      description: "Extra parameters passed for the helm upgrade command"
+      default: ""
   steps:
     - name: upgrade-from-repo
       image: $(params.helm_image)
@@ -48,4 +51,4 @@ spec:
         echo adding updating repo...
         helm repo update
         echo installing helm chart...
-        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)"
+        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)" $(params.upgrade_extra_params)
diff --git a/task/helm-upgrade-from-repo/0.3/tests/run.yaml b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
index d728495..62067f3 100644
--- a/task/helm-upgrade-from-repo/0.3/tests/run.yaml
+++ b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
@@ -19,6 +19,8 @@ spec:
           value: helm-repo-sample
         - name: overwrite_values
           value: autoscaling.enabled=false,autoscaling.maxReplicas=3
+        - name: upgrade_extra_params
+          value: "--force"
 ---
 apiVersion: tekton.dev/v1beta1
 kind: PipelineRun | 
    
          Catlin OutputCatlin script lint Output | 
    
| ## Install the Task | ||
| 
               | 
          
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we please update this section or remove as I can see that there is another section which talks about the same thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this section is updated.
The following has been added for reference. because this README is recentry added.
catalog/task/helm-upgrade-from-repo/0.4/README.md
Lines 5 to 11 in 203d90a
| ## Install the Task | |
| Install `helm-upgrade-from-repo` task: | |
| ``` | |
| kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw | |
| ``` | 
| app.kubernetes.io/version: "0.4" | ||
| annotations: | ||
| tekton.dev/categories: Deployment | ||
| tekton.dev/pipelines.minVersion: "0.12.1" | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's upgrade this version to something latest > v0.50.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix pipeline latest version.
| tekton.dev/categories: Deployment | |
| tekton.dev/pipelines.minVersion: "1.4.0" | 
https://github.com/tektoncd/pipeline/releases/tag/v1.4.0
Co-authored-by: Vinamra Jain <[email protected]>
Co-authored-by: Vinamra Jain <[email protected]>
          Diff between version 0.3 and 0.4diff --git a/task/helm-upgrade-from-repo/0.3/README.md b/task/helm-upgrade-from-repo/0.4/README.md
index 22e914d..8a24eba 100644
--- a/task/helm-upgrade-from-repo/0.3/README.md
+++ b/task/helm-upgrade-from-repo/0.4/README.md
@@ -11,7 +11,7 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 ### helm install / upgrade from repo
 
 ```
-kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.3/raw
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
 ```
 
 #### Parameters
@@ -22,6 +22,7 @@ kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade
 - **release_namespace**: The namespace in which the release is to be installed (*default: ""*)
 - **overwrite_values**: The values to be overwritten (*default: ""*)
 - **helm_image**: The helm image which should be used (default: lachlanevenson/k8s-helm:v3.5.0)
+- **upgrade_extra_params**: Extra parameters passed for the helm upgrade command (*default: ""*)
 
 #### Platforms
 
diff --git a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
index 0343bbc..84cba72 100644
--- a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml
+++ b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
@@ -1,10 +1,10 @@
 # This Task will do a helm upgrade based on the given helm repo and chart
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Task
 metadata:
   name: helm-upgrade-from-repo
   labels:
-    app.kubernetes.io/version: "0.3"
+    app.kubernetes.io/version: "0.4"
   annotations:
     tekton.dev/categories: Deployment
     tekton.dev/pipelines.minVersion: "0.12.1"
@@ -35,6 +35,9 @@ spec:
     - name: helm_image
       description: "Specify a specific helm image"
       default: "docker.io/lachlanevenson/k8s-helm@sha256:0a068ae407e21d1836c6a89a1e9e81af1e55fa56890998e33d5caabdbb51e77b" # tag: v3.10.2
+    - name: upgrade_extra_params
+      description: "Extra parameters passed for the helm upgrade command"
+      default: ""
   steps:
     - name: upgrade-from-repo
       image: $(params.helm_image)
@@ -48,4 +51,4 @@ spec:
         echo adding updating repo...
         helm repo update
         echo installing helm chart...
-        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)"
+        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)" $(params.upgrade_extra_params)
diff --git a/task/helm-upgrade-from-repo/0.3/tests/run.yaml b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
index d728495..1d9a22b 100644
--- a/task/helm-upgrade-from-repo/0.3/tests/run.yaml
+++ b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
@@ -1,5 +1,5 @@
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Pipeline
 metadata:
   name: helm-upgrade-test-pipeline
@@ -19,6 +19,8 @@ spec:
           value: helm-repo-sample
         - name: overwrite_values
           value: autoscaling.enabled=false,autoscaling.maxReplicas=3
+        - name: upgrade_extra_params
+          value: "--force"
 ---
 apiVersion: tekton.dev/v1beta1
 kind: PipelineRun | 
    
          Catlin OutputCatlin script lint Output | 
    
          Diff between version 0.3 and 0.4diff --git a/task/helm-upgrade-from-repo/0.3/README.md b/task/helm-upgrade-from-repo/0.4/README.md
index 22e914d..8a24eba 100644
--- a/task/helm-upgrade-from-repo/0.3/README.md
+++ b/task/helm-upgrade-from-repo/0.4/README.md
@@ -11,7 +11,7 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 ### helm install / upgrade from repo
 
 ```
-kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.3/raw
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
 ```
 
 #### Parameters
@@ -22,6 +22,7 @@ kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade
 - **release_namespace**: The namespace in which the release is to be installed (*default: ""*)
 - **overwrite_values**: The values to be overwritten (*default: ""*)
 - **helm_image**: The helm image which should be used (default: lachlanevenson/k8s-helm:v3.5.0)
+- **upgrade_extra_params**: Extra parameters passed for the helm upgrade command (*default: ""*)
 
 #### Platforms
 
diff --git a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
index 0343bbc..84cba72 100644
--- a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml
+++ b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
@@ -1,10 +1,10 @@
 # This Task will do a helm upgrade based on the given helm repo and chart
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Task
 metadata:
   name: helm-upgrade-from-repo
   labels:
-    app.kubernetes.io/version: "0.3"
+    app.kubernetes.io/version: "0.4"
   annotations:
     tekton.dev/categories: Deployment
     tekton.dev/pipelines.minVersion: "0.12.1"
@@ -35,6 +35,9 @@ spec:
     - name: helm_image
       description: "Specify a specific helm image"
       default: "docker.io/lachlanevenson/k8s-helm@sha256:0a068ae407e21d1836c6a89a1e9e81af1e55fa56890998e33d5caabdbb51e77b" # tag: v3.10.2
+    - name: upgrade_extra_params
+      description: "Extra parameters passed for the helm upgrade command"
+      default: ""
   steps:
     - name: upgrade-from-repo
       image: $(params.helm_image)
@@ -48,4 +51,4 @@ spec:
         echo adding updating repo...
         helm repo update
         echo installing helm chart...
-        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)"
+        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)" $(params.upgrade_extra_params)
diff --git a/task/helm-upgrade-from-repo/0.3/tests/run.yaml b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
index d728495..1d9a22b 100644
--- a/task/helm-upgrade-from-repo/0.3/tests/run.yaml
+++ b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
@@ -1,5 +1,5 @@
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Pipeline
 metadata:
   name: helm-upgrade-test-pipeline
@@ -19,6 +19,8 @@ spec:
           value: helm-repo-sample
         - name: overwrite_values
           value: autoscaling.enabled=false,autoscaling.maxReplicas=3
+        - name: upgrade_extra_params
+          value: "--force"
 ---
 apiVersion: tekton.dev/v1beta1
 kind: PipelineRun | 
    
          Catlin OutputCatlin script lint Output | 
    
Co-authored-by: Vinamra Jain <[email protected]>
          Diff between version 0.3 and 0.4diff --git a/task/helm-upgrade-from-repo/0.3/README.md b/task/helm-upgrade-from-repo/0.4/README.md
index 22e914d..8a24eba 100644
--- a/task/helm-upgrade-from-repo/0.3/README.md
+++ b/task/helm-upgrade-from-repo/0.4/README.md
@@ -11,7 +11,7 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 ### helm install / upgrade from repo
 
 ```
-kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.3/raw
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
 ```
 
 #### Parameters
@@ -22,6 +22,7 @@ kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade
 - **release_namespace**: The namespace in which the release is to be installed (*default: ""*)
 - **overwrite_values**: The values to be overwritten (*default: ""*)
 - **helm_image**: The helm image which should be used (default: lachlanevenson/k8s-helm:v3.5.0)
+- **upgrade_extra_params**: Extra parameters passed for the helm upgrade command (*default: ""*)
 
 #### Platforms
 
diff --git a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
index 0343bbc..84cba72 100644
--- a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml
+++ b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
@@ -1,10 +1,10 @@
 # This Task will do a helm upgrade based on the given helm repo and chart
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Task
 metadata:
   name: helm-upgrade-from-repo
   labels:
-    app.kubernetes.io/version: "0.3"
+    app.kubernetes.io/version: "0.4"
   annotations:
     tekton.dev/categories: Deployment
     tekton.dev/pipelines.minVersion: "0.12.1"
@@ -35,6 +35,9 @@ spec:
     - name: helm_image
       description: "Specify a specific helm image"
       default: "docker.io/lachlanevenson/k8s-helm@sha256:0a068ae407e21d1836c6a89a1e9e81af1e55fa56890998e33d5caabdbb51e77b" # tag: v3.10.2
+    - name: upgrade_extra_params
+      description: "Extra parameters passed for the helm upgrade command"
+      default: ""
   steps:
     - name: upgrade-from-repo
       image: $(params.helm_image)
@@ -48,4 +51,4 @@ spec:
         echo adding updating repo...
         helm repo update
         echo installing helm chart...
-        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)"
+        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)" $(params.upgrade_extra_params)
diff --git a/task/helm-upgrade-from-repo/0.3/tests/run.yaml b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
index d728495..84d75ab 100644
--- a/task/helm-upgrade-from-repo/0.3/tests/run.yaml
+++ b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
@@ -1,5 +1,5 @@
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Pipeline
 metadata:
   name: helm-upgrade-test-pipeline
@@ -19,8 +19,10 @@ spec:
           value: helm-repo-sample
         - name: overwrite_values
           value: autoscaling.enabled=false,autoscaling.maxReplicas=3
+        - name: upgrade_extra_params
+          value: "--force"
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: PipelineRun
 metadata:
   name: helm-upgrade-test-pipeline-run | 
    
          Catlin OutputCatlin script lint Output | 
    
          Diff between version 0.3 and 0.4diff --git a/task/helm-upgrade-from-repo/0.3/README.md b/task/helm-upgrade-from-repo/0.4/README.md
index 22e914d..8a24eba 100644
--- a/task/helm-upgrade-from-repo/0.3/README.md
+++ b/task/helm-upgrade-from-repo/0.4/README.md
@@ -11,7 +11,7 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 ### helm install / upgrade from repo
 
 ```
-kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.3/raw
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
 ```
 
 #### Parameters
@@ -22,6 +22,7 @@ kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade
 - **release_namespace**: The namespace in which the release is to be installed (*default: ""*)
 - **overwrite_values**: The values to be overwritten (*default: ""*)
 - **helm_image**: The helm image which should be used (default: lachlanevenson/k8s-helm:v3.5.0)
+- **upgrade_extra_params**: Extra parameters passed for the helm upgrade command (*default: ""*)
 
 #### Platforms
 
diff --git a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
index 0343bbc..26c13bf 100644
--- a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml
+++ b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
@@ -1,13 +1,13 @@
 # This Task will do a helm upgrade based on the given helm repo and chart
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Task
 metadata:
   name: helm-upgrade-from-repo
   labels:
-    app.kubernetes.io/version: "0.3"
+    app.kubernetes.io/version: "0.4"
   annotations:
     tekton.dev/categories: Deployment
-    tekton.dev/pipelines.minVersion: "0.12.1"
+    tekton.dev/pipelines.minVersion: "1.4.0"
     tekton.dev/tags: helm
     tekton.dev/platforms: "linux/amd64,linux/s390x,linux/ppc64le,linux/arm64"
 spec:
@@ -35,6 +35,9 @@ spec:
     - name: helm_image
       description: "Specify a specific helm image"
       default: "docker.io/lachlanevenson/k8s-helm@sha256:0a068ae407e21d1836c6a89a1e9e81af1e55fa56890998e33d5caabdbb51e77b" # tag: v3.10.2
+    - name: upgrade_extra_params
+      description: "Extra parameters passed for the helm upgrade command"
+      default: ""
   steps:
     - name: upgrade-from-repo
       image: $(params.helm_image)
@@ -48,4 +51,4 @@ spec:
         echo adding updating repo...
         helm repo update
         echo installing helm chart...
-        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)"
+        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)" $(params.upgrade_extra_params)
diff --git a/task/helm-upgrade-from-repo/0.3/tests/run.yaml b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
index d728495..84d75ab 100644
--- a/task/helm-upgrade-from-repo/0.3/tests/run.yaml
+++ b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
@@ -1,5 +1,5 @@
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Pipeline
 metadata:
   name: helm-upgrade-test-pipeline
@@ -19,8 +19,10 @@ spec:
           value: helm-repo-sample
         - name: overwrite_values
           value: autoscaling.enabled=false,autoscaling.maxReplicas=3
+        - name: upgrade_extra_params
+          value: "--force"
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: PipelineRun
 metadata:
   name: helm-upgrade-test-pipeline-run | 
    
          Catlin OutputCatlin script lint Output | 
    
          Diff between version 0.3 and 0.4diff --git a/task/helm-upgrade-from-repo/0.3/README.md b/task/helm-upgrade-from-repo/0.4/README.md
index 22e914d..f6fd255 100644
--- a/task/helm-upgrade-from-repo/0.3/README.md
+++ b/task/helm-upgrade-from-repo/0.4/README.md
@@ -4,6 +4,12 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 
 ## Install the Task
 
+Install `helm-upgrade-from-repo` task:
+
+```
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
+```
+
 #### Workspaces
 
 * **source**: A [Workspace](https://github.com/tektoncd/pipeline/blob/main/docs/workspaces.md) volume containing the helm chart.
@@ -11,7 +17,7 @@ These tasks will install / upgrade a helm chart into your Kubernetes / OpenShift
 ### helm install / upgrade from repo
 
 ```
-kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.3/raw
+kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade-from-repo/0.4/raw
 ```
 
 #### Parameters
@@ -22,6 +28,7 @@ kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/helm-upgrade
 - **release_namespace**: The namespace in which the release is to be installed (*default: ""*)
 - **overwrite_values**: The values to be overwritten (*default: ""*)
 - **helm_image**: The helm image which should be used (default: lachlanevenson/k8s-helm:v3.5.0)
+- **upgrade_extra_params**: Extra parameters passed for the helm upgrade command (*default: ""*)
 
 #### Platforms
 
diff --git a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
index 0343bbc..26c13bf 100644
--- a/task/helm-upgrade-from-repo/0.3/helm-upgrade-from-repo.yaml
+++ b/task/helm-upgrade-from-repo/0.4/helm-upgrade-from-repo.yaml
@@ -1,13 +1,13 @@
 # This Task will do a helm upgrade based on the given helm repo and chart
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Task
 metadata:
   name: helm-upgrade-from-repo
   labels:
-    app.kubernetes.io/version: "0.3"
+    app.kubernetes.io/version: "0.4"
   annotations:
     tekton.dev/categories: Deployment
-    tekton.dev/pipelines.minVersion: "0.12.1"
+    tekton.dev/pipelines.minVersion: "1.4.0"
     tekton.dev/tags: helm
     tekton.dev/platforms: "linux/amd64,linux/s390x,linux/ppc64le,linux/arm64"
 spec:
@@ -35,6 +35,9 @@ spec:
     - name: helm_image
       description: "Specify a specific helm image"
       default: "docker.io/lachlanevenson/k8s-helm@sha256:0a068ae407e21d1836c6a89a1e9e81af1e55fa56890998e33d5caabdbb51e77b" # tag: v3.10.2
+    - name: upgrade_extra_params
+      description: "Extra parameters passed for the helm upgrade command"
+      default: ""
   steps:
     - name: upgrade-from-repo
       image: $(params.helm_image)
@@ -48,4 +51,4 @@ spec:
         echo adding updating repo...
         helm repo update
         echo installing helm chart...
-        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)"
+        helm upgrade --wait --install --namespace "$(params.release_namespace)" $(params.release_name) $(params.chart_name) --debug --set "$(params.overwrite_values)" $(params.upgrade_extra_params)
diff --git a/task/helm-upgrade-from-repo/0.3/tests/run.yaml b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
index d728495..84d75ab 100644
--- a/task/helm-upgrade-from-repo/0.3/tests/run.yaml
+++ b/task/helm-upgrade-from-repo/0.4/tests/run.yaml
@@ -1,5 +1,5 @@
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: Pipeline
 metadata:
   name: helm-upgrade-test-pipeline
@@ -19,8 +19,10 @@ spec:
           value: helm-repo-sample
         - name: overwrite_values
           value: autoscaling.enabled=false,autoscaling.maxReplicas=3
+        - name: upgrade_extra_params
+          value: "--force"
 ---
-apiVersion: tekton.dev/v1beta1
+apiVersion: tekton.dev/v1
 kind: PipelineRun
 metadata:
   name: helm-upgrade-test-pipeline-run | 
    
          Catlin OutputCatlin script lint Output | 
    
| 
           I fixed all comments.  | 
    
| 
           /approve  | 
    
| 
           [APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here 
Needs approval from an approver in each of these files:
 
      
 Approvers can indicate their approval by writing   | 
    
Changes
Add args '--create-namespace' to helm-upgrade-from-repo task.
Why I create this PR, If namespace is none, fail task.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
contains
/kind <type>. Valid types are bug, cleanup, design, documentation,feature, flake, misc, question, tep
File path follows
<kind>/<name>/<version>/name.yamlHas
README.mdat<kind>/<name>/<version>/README.mdHas mandatory
metadata.labels-app.kubernetes.io/versionthe same as the<version>of the resourceHas mandatory
metadata.annotationstekton.dev/pipelines.minVersionmandatory
spec.descriptionfollows the conventionSee the contribution guide for more details.