From 6be63f89224d0f819d3b3dd465419f457a6cb6d0 Mon Sep 17 00:00:00 2001 From: Srinivas-Anand-HPE Date: Fri, 14 Mar 2025 12:00:07 +0530 Subject: [PATCH] CASMTRIAGE-7927: Update portainer image based on CSM 1.7 Kubernetes version --- workflows/iuf/operations/ims-upload.yaml | 6 +++--- .../iuf/operations/managed-nodes/managed-nodes-rollout.yaml | 4 ++-- .../nexus-setup/cleanup-nexus-admin-credential.yaml | 4 ++-- .../nexus-setup/nexus-get-prerequisites-template.yaml | 4 ++-- workflows/iuf/operations/s3-upload/s3-upload-template.yaml | 4 ++-- .../operations/vcs-update/vcs-update-working-branch.yaml | 6 +++--- workflows/iuf/operations/vcs-upload/vcs-upload-content.yaml | 6 +++--- workflows/templates/after-all-hooks.yaml | 4 ++-- workflows/templates/after-each-hooks.yaml | 4 ++-- workflows/templates/base/kubectlAndCurl.template.argo.yaml | 4 ++-- workflows/templates/before-all-hooks.yaml | 4 ++-- workflows/templates/before-each-hooks.yaml | 4 ++-- 12 files changed, 27 insertions(+), 27 deletions(-) diff --git a/workflows/iuf/operations/ims-upload.yaml b/workflows/iuf/operations/ims-upload.yaml index 0b95cdbdd30c..ec51eb46e52c 100644 --- a/workflows/iuf/operations/ims-upload.yaml +++ b/workflows/iuf/operations/ims-upload.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP +# (C) Copyright 2022-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -168,7 +168,7 @@ spec: factor: "2" maxDuration: "1m" script: - image: registry.local/artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: registry.local/artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [bash] source: | function sync_item() { @@ -303,7 +303,7 @@ spec: annotations: sidecar.istio.io/inject: "false" script: - image: registry.local/artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: registry.local/artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [bash] source: | s3_secret_name={{inputs.parameters.s3_credentials_secret_name}} diff --git a/workflows/iuf/operations/managed-nodes/managed-nodes-rollout.yaml b/workflows/iuf/operations/managed-nodes/managed-nodes-rollout.yaml index ce9065a40cd5..839c4a88f866 100644 --- a/workflows/iuf/operations/managed-nodes/managed-nodes-rollout.yaml +++ b/workflows/iuf/operations/managed-nodes/managed-nodes-rollout.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP +# (C) Copyright 2022-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -157,7 +157,7 @@ spec: valueFrom: path: /tmp/sat_command.txt script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [bash] source: | #!/bin/bash diff --git a/workflows/iuf/operations/nexus-setup/cleanup-nexus-admin-credential.yaml b/workflows/iuf/operations/nexus-setup/cleanup-nexus-admin-credential.yaml index 49109ee825c1..a07707d9fede 100644 --- a/workflows/iuf/operations/nexus-setup/cleanup-nexus-admin-credential.yaml +++ b/workflows/iuf/operations/nexus-setup/cleanup-nexus-admin-credential.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2024 Hewlett Packard Enterprise Development LP +# (C) Copyright 2024-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -44,7 +44,7 @@ spec: parameters: - name: nexus_admin_credential_secret_name script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [bash] source: | nexus_secret_name={{inputs.parameters.nexus_admin_credential_secret_name}} diff --git a/workflows/iuf/operations/nexus-setup/nexus-get-prerequisites-template.yaml b/workflows/iuf/operations/nexus-setup/nexus-get-prerequisites-template.yaml index b41717226d97..423d19d4c816 100644 --- a/workflows/iuf/operations/nexus-setup/nexus-get-prerequisites-template.yaml +++ b/workflows/iuf/operations/nexus-setup/nexus-get-prerequisites-template.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2024 Hewlett Packard Enterprise Development LP +# (C) Copyright 2024-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -59,7 +59,7 @@ spec: factor: "2" maxDuration: "1m" script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [bash] source: | function sync_item() { diff --git a/workflows/iuf/operations/s3-upload/s3-upload-template.yaml b/workflows/iuf/operations/s3-upload/s3-upload-template.yaml index 3a20db795b33..8466b9701da8 100644 --- a/workflows/iuf/operations/s3-upload/s3-upload-template.yaml +++ b/workflows/iuf/operations/s3-upload/s3-upload-template.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP +# (C) Copyright 2022-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -181,7 +181,7 @@ spec: path: /tmp/product-content default: "{\"component_versions\": {\"s3\": []}}" script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [bash] source: | PRODUCT=$(echo '{{inputs.parameters.global_params}}' | jq -r '.product_manifest.current_product.manifest.name') diff --git a/workflows/iuf/operations/vcs-update/vcs-update-working-branch.yaml b/workflows/iuf/operations/vcs-update/vcs-update-working-branch.yaml index 30694ef4ac65..5d7b21b59938 100644 --- a/workflows/iuf/operations/vcs-update/vcs-update-working-branch.yaml +++ b/workflows/iuf/operations/vcs-update/vcs-update-working-branch.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP +# (C) Copyright 2022-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -171,7 +171,7 @@ spec: factor: "2" maxDuration: "1m" script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [bash] source: | function sync_item() { @@ -287,7 +287,7 @@ spec: annotations: sidecar.istio.io/inject: "false" script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [bash] source: | vcs_secret_name={{inputs.parameters.vcs_user_credentials_secret_name}} diff --git a/workflows/iuf/operations/vcs-upload/vcs-upload-content.yaml b/workflows/iuf/operations/vcs-upload/vcs-upload-content.yaml index f0b9fae9134f..9a0d2d33d840 100644 --- a/workflows/iuf/operations/vcs-upload/vcs-upload-content.yaml +++ b/workflows/iuf/operations/vcs-upload/vcs-upload-content.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP +# (C) Copyright 2022-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -177,7 +177,7 @@ spec: factor: "2" maxDuration: "1m" script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [bash] source: | function sync_item() { @@ -302,7 +302,7 @@ spec: annotations: sidecar.istio.io/inject: "false" script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [bash] source: | vcs_secret_name={{inputs.parameters.vcs_user_credentials_secret_name}} diff --git a/workflows/templates/after-all-hooks.yaml b/workflows/templates/after-all-hooks.yaml index 3f026d1fbde6..c16d6eb36aad 100644 --- a/workflows/templates/after-all-hooks.yaml +++ b/workflows/templates/after-all-hooks.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP +# (C) Copyright 2022-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -42,7 +42,7 @@ spec: - name: get-after-all-hooks inline: script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [sh] source: | kubectl get hooks -n argo -l after-all=true -o jsonpath='{.items}' | jq -c 'map(.metadata.name)' diff --git a/workflows/templates/after-each-hooks.yaml b/workflows/templates/after-each-hooks.yaml index c5d79ed34392..3d1084228562 100644 --- a/workflows/templates/after-each-hooks.yaml +++ b/workflows/templates/after-each-hooks.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP +# (C) Copyright 2022-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -42,7 +42,7 @@ spec: - name: get-after-each-hooks inline: script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [sh] source: | kubectl get hooks -n argo -l after-each=true -o jsonpath='{.items}' | jq -c 'map(.metadata.name)' diff --git a/workflows/templates/base/kubectlAndCurl.template.argo.yaml b/workflows/templates/base/kubectlAndCurl.template.argo.yaml index dfe9786f52d0..b46388263fa2 100644 --- a/workflows/templates/base/kubectlAndCurl.template.argo.yaml +++ b/workflows/templates/base/kubectlAndCurl.template.argo.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2023-2024 Hewlett Packard Enterprise Development LP +# (C) Copyright 2023-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -45,7 +45,7 @@ spec: script: # use portainer/kubectl-shell that has: # - kubectl, jq, curl and csi - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [sh] source: | #!/bin/sh diff --git a/workflows/templates/before-all-hooks.yaml b/workflows/templates/before-all-hooks.yaml index b4fc9c9cb0d4..0863b3f96995 100644 --- a/workflows/templates/before-all-hooks.yaml +++ b/workflows/templates/before-all-hooks.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP +# (C) Copyright 2022-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -42,7 +42,7 @@ spec: - name: get-before-all-hooks inline: script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [sh] source: | kubectl get hooks -n argo -l before-all=true -o jsonpath='{.items}' | jq -c 'map(.metadata.name)' diff --git a/workflows/templates/before-each-hooks.yaml b/workflows/templates/before-each-hooks.yaml index 45f65cf1b271..57595c9cc427 100644 --- a/workflows/templates/before-each-hooks.yaml +++ b/workflows/templates/before-each-hooks.yaml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP +# (C) Copyright 2022-2025 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -42,7 +42,7 @@ spec: - name: get-before-each-hooks inline: script: - image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:latest-v1.21.1-amd64 + image: artifactory.algol60.net/csm-docker/stable/docker.io/portainer/kubectl-shell:2.27.0 command: [sh] source: | kubectl get hooks -n argo -l before-each=true -o jsonpath='{.items}' | jq -c 'map(.metadata.name)'