diff --git a/tkn/infra-aws-eks.yaml b/tkn/infra-aws-eks.yaml index d4e8841c6..e6d4f7a65 100644 --- a/tkn/infra-aws-eks.yaml +++ b/tkn/infra-aws-eks.yaml @@ -289,7 +289,7 @@ spec: cat <> cluster-info.yaml type: Opaque data: - kubeconfig: $(cat /opt/cluster-info/kubeconfig | tr -d '\n\r' | base64 -w0) + kubeconfig: $(cat /opt/cluster-info/kubeconfig | base64 -w0) EOF if [[ $(params.debug) == "true" ]]; then diff --git a/tkn/infra-aws-fedora.yaml b/tkn/infra-aws-fedora.yaml index b8cd8513c..431347b6b 100644 --- a/tkn/infra-aws-fedora.yaml +++ b/tkn/infra-aws-fedora.yaml @@ -342,15 +342,15 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.airgap)" == "true" ]]; then cat <> host-info.yaml - bastion-host: $(cat /opt/host-info/bastion_host | tr -d '\n\r' | base64 -w0) - bastion-username: $(cat /opt/host-info/bastion_username | tr -d '\n\r' | base64 -w0) - bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | tr -d '\n\r' | base64 -w0) + bastion-host: $(cat /opt/host-info/bastion_host | base64 -w0) + bastion-username: $(cat /opt/host-info/bastion_username | base64 -w0) + bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | base64 -w0) EOF fi diff --git a/tkn/infra-aws-kind.yaml b/tkn/infra-aws-kind.yaml index 610e93337..1aff5b3f4 100644 --- a/tkn/infra-aws-kind.yaml +++ b/tkn/infra-aws-kind.yaml @@ -302,7 +302,7 @@ spec: cat <> cluster-info.yaml type: Opaque data: - kubeconfig: $(cat /opt/cluster-info/kubeconfig | tr -d '\n\r' | base64 -w0) + kubeconfig: $(cat /opt/cluster-info/kubeconfig | base64 -w0) EOF if [[ $(params.debug) == "true" ]]; then diff --git a/tkn/infra-aws-mac.yaml b/tkn/infra-aws-mac.yaml index d8f729534..c5070af63 100644 --- a/tkn/infra-aws-mac.yaml +++ b/tkn/infra-aws-mac.yaml @@ -294,15 +294,15 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ $(params.airgap) == "true" ]]; then cat <> host-info.yaml - bastion-host: $(cat /opt/host-info/bastion_host | tr -d '\n\r' | base64 -w0) - bastion-username: $(cat /opt/host-info/bastion_username | tr -d '\n\r' | base64 -w0) - bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | tr -d '\n\r' | base64 -w0) + bastion-host: $(cat /opt/host-info/bastion_host | base64 -w0) + bastion-username: $(cat /opt/host-info/bastion_username | base64 -w0) + bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | base64 -w0) EOF fi diff --git a/tkn/infra-aws-ocp-snc.yaml b/tkn/infra-aws-ocp-snc.yaml index 166cf0cb8..766dbb267 100644 --- a/tkn/infra-aws-ocp-snc.yaml +++ b/tkn/infra-aws-ocp-snc.yaml @@ -334,7 +334,7 @@ spec: cat <> cluster-info.yaml type: Opaque data: - kubeconfig: $(cat /opt/cluster-info/kubeconfig | tr -d '\n\r' | base64 -w0) + kubeconfig: $(cat /opt/cluster-info/kubeconfig | base64 -w0) EOF if [[ $(params.debug) == "true" ]]; then diff --git a/tkn/infra-aws-rhel-ai.yaml b/tkn/infra-aws-rhel-ai.yaml index 60f982856..e62c3f606 100644 --- a/tkn/infra-aws-rhel-ai.yaml +++ b/tkn/infra-aws-rhel-ai.yaml @@ -350,9 +350,9 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.debug)" == "true" ]]; then diff --git a/tkn/infra-aws-rhel.yaml b/tkn/infra-aws-rhel.yaml index 50fe5ce00..c56e2e7e8 100644 --- a/tkn/infra-aws-rhel.yaml +++ b/tkn/infra-aws-rhel.yaml @@ -368,15 +368,15 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.airgap)" == "true" ]]; then cat <> host-info.yaml - bastion-host: $(cat /opt/host-info/bastion_host | tr -d '\n\r' | base64 -w0) - bastion-username: $(cat /opt/host-info/bastion_username | tr -d '\n\r' | base64 -w0) - bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | tr -d '\n\r' | base64 -w0) + bastion-host: $(cat /opt/host-info/bastion_host | base64 -w0) + bastion-username: $(cat /opt/host-info/bastion_username | base64 -w0) + bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | base64 -w0) EOF fi diff --git a/tkn/infra-aws-windows-server.yaml b/tkn/infra-aws-windows-server.yaml index db08c6978..f6e989e3c 100644 --- a/tkn/infra-aws-windows-server.yaml +++ b/tkn/infra-aws-windows-server.yaml @@ -301,15 +301,15 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ $(params.airgap) == "true" ]]; then cat <> host-info.yaml - bastion-host: $(cat /opt/host-info/bastion_host | tr -d '\n\r' | base64 -w0) - bastion-username: $(cat /opt/host-info/bastion_username | tr -d '\n\r' | base64 -w0) - bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | tr -d '\n\r' | base64 -w0) + bastion-host: $(cat /opt/host-info/bastion_host | base64 -w0) + bastion-username: $(cat /opt/host-info/bastion_username | base64 -w0) + bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | base64 -w0) EOF fi diff --git a/tkn/infra-azure-aks.yaml b/tkn/infra-azure-aks.yaml index 0dcb6f855..b56876f14 100644 --- a/tkn/infra-azure-aks.yaml +++ b/tkn/infra-azure-aks.yaml @@ -258,7 +258,7 @@ spec: cat <> cluster-info.yaml type: Opaque data: - kubeconfig: $(cat /opt/cluster-info/kubeconfig | tr -d '\n\r' | base64 -w0) + kubeconfig: $(cat /opt/cluster-info/kubeconfig | base64 -w0) EOF if [[ $(params.debug) == "true" ]]; then diff --git a/tkn/infra-azure-fedora.yaml b/tkn/infra-azure-fedora.yaml index 5d7b22e09..b0828aa18 100644 --- a/tkn/infra-azure-fedora.yaml +++ b/tkn/infra-azure-fedora.yaml @@ -297,9 +297,9 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.debug)" == "true" ]]; then diff --git a/tkn/infra-azure-rhel-ai.yaml b/tkn/infra-azure-rhel-ai.yaml index 98de3f282..fd0e95392 100644 --- a/tkn/infra-azure-rhel-ai.yaml +++ b/tkn/infra-azure-rhel-ai.yaml @@ -302,9 +302,9 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.debug)" == "true" ]]; then diff --git a/tkn/infra-azure-rhel.yaml b/tkn/infra-azure-rhel.yaml index 21dce1ce5..17f1cadbd 100644 --- a/tkn/infra-azure-rhel.yaml +++ b/tkn/infra-azure-rhel.yaml @@ -301,9 +301,9 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.debug)" == "true" ]]; then diff --git a/tkn/infra-azure-windows-desktop.yaml b/tkn/infra-azure-windows-desktop.yaml index a92e5916e..77b9a2390 100644 --- a/tkn/infra-azure-windows-desktop.yaml +++ b/tkn/infra-azure-windows-desktop.yaml @@ -281,12 +281,12 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) - userpassword: $(cat /opt/host-info/userpassword | tr -d '\n\r' | base64 -w0) - adminusername: $(cat /opt/host-info/adminusername | tr -d '\n\r' | base64 -w0) - adminuserpassword: $(cat /opt/host-info/adminuserpassword | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) + userpassword: $(cat /opt/host-info/userpassword | base64 -w0) + adminusername: $(cat /opt/host-info/adminusername | base64 -w0) + adminuserpassword: $(cat /opt/host-info/adminuserpassword | base64 -w0) EOF if [[ $(params.debug) == "true" ]]; then diff --git a/tkn/template/infra-aws-eks.yaml b/tkn/template/infra-aws-eks.yaml index 4f0c427a4..e27754a7e 100644 --- a/tkn/template/infra-aws-eks.yaml +++ b/tkn/template/infra-aws-eks.yaml @@ -289,7 +289,7 @@ spec: cat <> cluster-info.yaml type: Opaque data: - kubeconfig: $(cat /opt/cluster-info/kubeconfig | tr -d '\n\r' | base64 -w0) + kubeconfig: $(cat /opt/cluster-info/kubeconfig | base64 -w0) EOF if [[ $(params.debug) == "true" ]]; then diff --git a/tkn/template/infra-aws-fedora.yaml b/tkn/template/infra-aws-fedora.yaml index 922a18b53..08627de38 100644 --- a/tkn/template/infra-aws-fedora.yaml +++ b/tkn/template/infra-aws-fedora.yaml @@ -342,15 +342,15 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.airgap)" == "true" ]]; then cat <> host-info.yaml - bastion-host: $(cat /opt/host-info/bastion_host | tr -d '\n\r' | base64 -w0) - bastion-username: $(cat /opt/host-info/bastion_username | tr -d '\n\r' | base64 -w0) - bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | tr -d '\n\r' | base64 -w0) + bastion-host: $(cat /opt/host-info/bastion_host | base64 -w0) + bastion-username: $(cat /opt/host-info/bastion_username | base64 -w0) + bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | base64 -w0) EOF fi diff --git a/tkn/template/infra-aws-kind.yaml b/tkn/template/infra-aws-kind.yaml index 049e52cd5..06f316e8f 100644 --- a/tkn/template/infra-aws-kind.yaml +++ b/tkn/template/infra-aws-kind.yaml @@ -302,7 +302,7 @@ spec: cat <> cluster-info.yaml type: Opaque data: - kubeconfig: $(cat /opt/cluster-info/kubeconfig | tr -d '\n\r' | base64 -w0) + kubeconfig: $(cat /opt/cluster-info/kubeconfig | base64 -w0) EOF if [[ $(params.debug) == "true" ]]; then diff --git a/tkn/template/infra-aws-mac.yaml b/tkn/template/infra-aws-mac.yaml index b85b3d828..2ff862b3c 100644 --- a/tkn/template/infra-aws-mac.yaml +++ b/tkn/template/infra-aws-mac.yaml @@ -294,15 +294,15 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ $(params.airgap) == "true" ]]; then cat <> host-info.yaml - bastion-host: $(cat /opt/host-info/bastion_host | tr -d '\n\r' | base64 -w0) - bastion-username: $(cat /opt/host-info/bastion_username | tr -d '\n\r' | base64 -w0) - bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | tr -d '\n\r' | base64 -w0) + bastion-host: $(cat /opt/host-info/bastion_host | base64 -w0) + bastion-username: $(cat /opt/host-info/bastion_username | base64 -w0) + bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | base64 -w0) EOF fi diff --git a/tkn/template/infra-aws-ocp-snc.yaml b/tkn/template/infra-aws-ocp-snc.yaml index 848d33381..f3ad81af3 100644 --- a/tkn/template/infra-aws-ocp-snc.yaml +++ b/tkn/template/infra-aws-ocp-snc.yaml @@ -334,7 +334,7 @@ spec: cat <> cluster-info.yaml type: Opaque data: - kubeconfig: $(cat /opt/cluster-info/kubeconfig | tr -d '\n\r' | base64 -w0) + kubeconfig: $(cat /opt/cluster-info/kubeconfig | base64 -w0) EOF if [[ $(params.debug) == "true" ]]; then diff --git a/tkn/template/infra-aws-rhel-ai.yaml b/tkn/template/infra-aws-rhel-ai.yaml index 83141d9c1..4817c5006 100644 --- a/tkn/template/infra-aws-rhel-ai.yaml +++ b/tkn/template/infra-aws-rhel-ai.yaml @@ -350,9 +350,9 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.debug)" == "true" ]]; then diff --git a/tkn/template/infra-aws-rhel.yaml b/tkn/template/infra-aws-rhel.yaml index 23cf3228a..cc33482a9 100644 --- a/tkn/template/infra-aws-rhel.yaml +++ b/tkn/template/infra-aws-rhel.yaml @@ -368,15 +368,15 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.airgap)" == "true" ]]; then cat <> host-info.yaml - bastion-host: $(cat /opt/host-info/bastion_host | tr -d '\n\r' | base64 -w0) - bastion-username: $(cat /opt/host-info/bastion_username | tr -d '\n\r' | base64 -w0) - bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | tr -d '\n\r' | base64 -w0) + bastion-host: $(cat /opt/host-info/bastion_host | base64 -w0) + bastion-username: $(cat /opt/host-info/bastion_username | base64 -w0) + bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | base64 -w0) EOF fi diff --git a/tkn/template/infra-aws-windows-server.yaml b/tkn/template/infra-aws-windows-server.yaml index 1ad2b17f3..05ff00600 100644 --- a/tkn/template/infra-aws-windows-server.yaml +++ b/tkn/template/infra-aws-windows-server.yaml @@ -301,15 +301,15 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ $(params.airgap) == "true" ]]; then cat <> host-info.yaml - bastion-host: $(cat /opt/host-info/bastion_host | tr -d '\n\r' | base64 -w0) - bastion-username: $(cat /opt/host-info/bastion_username | tr -d '\n\r' | base64 -w0) - bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | tr -d '\n\r' | base64 -w0) + bastion-host: $(cat /opt/host-info/bastion_host | base64 -w0) + bastion-username: $(cat /opt/host-info/bastion_username | base64 -w0) + bastion-id_rsa: $(cat /opt/host-info/bastion_id_rsa | base64 -w0) EOF fi diff --git a/tkn/template/infra-azure-aks.yaml b/tkn/template/infra-azure-aks.yaml index 3646c6dc8..8ce334447 100644 --- a/tkn/template/infra-azure-aks.yaml +++ b/tkn/template/infra-azure-aks.yaml @@ -258,7 +258,7 @@ spec: cat <> cluster-info.yaml type: Opaque data: - kubeconfig: $(cat /opt/cluster-info/kubeconfig | tr -d '\n\r' | base64 -w0) + kubeconfig: $(cat /opt/cluster-info/kubeconfig | base64 -w0) EOF if [[ $(params.debug) == "true" ]]; then diff --git a/tkn/template/infra-azure-fedora.yaml b/tkn/template/infra-azure-fedora.yaml index 9ca8c5b32..33d73892f 100644 --- a/tkn/template/infra-azure-fedora.yaml +++ b/tkn/template/infra-azure-fedora.yaml @@ -297,9 +297,9 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.debug)" == "true" ]]; then diff --git a/tkn/template/infra-azure-rhel-ai.yaml b/tkn/template/infra-azure-rhel-ai.yaml index dcd289ee7..b6f26bae1 100644 --- a/tkn/template/infra-azure-rhel-ai.yaml +++ b/tkn/template/infra-azure-rhel-ai.yaml @@ -302,9 +302,9 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.debug)" == "true" ]]; then diff --git a/tkn/template/infra-azure-rhel.yaml b/tkn/template/infra-azure-rhel.yaml index 9f64430d8..1c761eb26 100644 --- a/tkn/template/infra-azure-rhel.yaml +++ b/tkn/template/infra-azure-rhel.yaml @@ -301,9 +301,9 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) EOF if [[ "$(params.debug)" == "true" ]]; then diff --git a/tkn/template/infra-azure-windows-desktop.yaml b/tkn/template/infra-azure-windows-desktop.yaml index 850683261..065587d05 100644 --- a/tkn/template/infra-azure-windows-desktop.yaml +++ b/tkn/template/infra-azure-windows-desktop.yaml @@ -281,12 +281,12 @@ spec: cat <> host-info.yaml type: Opaque data: - host: $(cat /opt/host-info/host | tr -d '\n\r' | base64 -w0) - username: $(cat /opt/host-info/username | tr -d '\n\r' | base64 -w0) - id_rsa: $(cat /opt/host-info/id_rsa | tr -d '\n\r' | base64 -w0) - userpassword: $(cat /opt/host-info/userpassword | tr -d '\n\r' | base64 -w0) - adminusername: $(cat /opt/host-info/adminusername | tr -d '\n\r' | base64 -w0) - adminuserpassword: $(cat /opt/host-info/adminuserpassword | tr -d '\n\r' | base64 -w0) + host: $(cat /opt/host-info/host | base64 -w0) + username: $(cat /opt/host-info/username | base64 -w0) + id_rsa: $(cat /opt/host-info/id_rsa | base64 -w0) + userpassword: $(cat /opt/host-info/userpassword | base64 -w0) + adminusername: $(cat /opt/host-info/adminusername | base64 -w0) + adminuserpassword: $(cat /opt/host-info/adminuserpassword | base64 -w0) EOF if [[ $(params.debug) == "true" ]]; then