This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 1efb508ef336614be6b5ed26ef7d2472b855382b
Author: phantomjinx <[email protected]>
AuthorDate: Wed Nov 24 15:09:40 2021 +0000

    Mask potentially sensitive values in the log
---
 .github/actions/kamel-config-cluster-custom/action.yml | 10 ++++++++++
 .github/actions/kamel-prepare-env/action.yml           |  3 +++
 2 files changed, 13 insertions(+)

diff --git a/.github/actions/kamel-config-cluster-custom/action.yml 
b/.github/actions/kamel-config-cluster-custom/action.yml
index 9af8276..e5986e1 100644
--- a/.github/actions/kamel-config-cluster-custom/action.yml
+++ b/.github/actions/kamel-config-cluster-custom/action.yml
@@ -71,6 +71,16 @@ runs:
       shell: bash
       if: ${{ env.CLUSTER_CUSTOM_CONFIGURED != 'true' }}
       run: |
+        echo "::add-mask::${{ env.e2e_kube-config-data }}"
+        echo "::add-mask::${{ env.e2e_kube-admin-user-ctx }}"
+        echo "::add-mask::${{ env.e2e_kube-user-ctx }}"
+        echo "::add-mask::${{ env.e2e_image-registry-pull-host }}"
+        echo "::add-mask::${{ env.e2e_image-registry-push-host }}"
+        echo "::add-mask::${{ env.e2e_image-registry-user }}"
+        echo "::add-mask::${{ env.e2e_image-registry-token }}"
+        echo "::add-mask::${{ env.e2e_image-namespace }}"
+        echo "::add-mask::${{ env.e2e_catalog-source-namespace }}"
+
         if [ -z "${{ env.e2e_kube-config-data }}" ]; then
           echo "Error: kube config data property cannot be found"
           exit 1
diff --git a/.github/actions/kamel-prepare-env/action.yml 
b/.github/actions/kamel-prepare-env/action.yml
index 45871e1..666ae87 100644
--- a/.github/actions/kamel-prepare-env/action.yml
+++ b/.github/actions/kamel-prepare-env/action.yml
@@ -103,6 +103,9 @@ runs:
       shell: bash
       if: ${{ env.KAMEL_PREPARE_ENV != 'true' }}
       run : |
+
+        echo "::add-mask::${{ env.DEBUG_USE_EXISTING_IMAGE }}"
+
         #
         # Avoid preparing the environment repeatedly
         #

Reply via email to