You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2025/01/06 11:16:49 UTC
(cloudstack) 01/01: .github: fix check-yaml
This is an automated email from the ASF dual-hosted git repository.
weizhou pushed a commit to branch 4.21-fix-check-yaml
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit 88048f96076cb27d99e2d7379120b79f3ebe4c6d
Author: Wei Zhou <we...@apache.org>
AuthorDate: Mon Jan 6 12:16:07 2025 +0100
.github: fix check-yaml
---
.pre-commit-config.yaml | 1 +
.../kubernetes-service/src/main/resources/conf/k8s-control-node-add.yml | 2 +-
.../kubernetes-service/src/main/resources/conf/k8s-control-node.yml | 2 +-
.../kubernetes-service/src/main/resources/conf/k8s-node.yml | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9a2173fb5e3..7457ad5b92e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -35,6 +35,7 @@ repos:
- id: check-symlinks
- id: check-vcs-permalinks
- id: check-yaml
+ args: [--allow-multiple-documents]
- id: destroyed-symlinks
- id: detect-aws-credentials
args: [--allow-missing-credentials]
diff --git a/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-control-node-add.yml b/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-control-node-add.yml
index 59cb1fccb1c..6819723b3f0 100644
--- a/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-control-node-add.yml
+++ b/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-control-node-add.yml
@@ -21,7 +21,7 @@ users:
- name: cloud
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
- ssh_authorized_keys: |
+ ssh_authorized_keys:
{{ k8s.ssh.pub.key }}
write_files:
diff --git a/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-control-node.yml b/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-control-node.yml
index a7dd6f2035c..90be8957d44 100644
--- a/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-control-node.yml
+++ b/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-control-node.yml
@@ -21,7 +21,7 @@ users:
- name: cloud
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
- ssh_authorized_keys: |
+ ssh_authorized_keys:
{{ k8s.ssh.pub.key }}
write_files:
diff --git a/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-node.yml b/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-node.yml
index 7e0214b711f..ac80e8576ff 100644
--- a/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-node.yml
+++ b/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-node.yml
@@ -21,7 +21,7 @@ users:
- name: cloud
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
- ssh_authorized_keys: |
+ ssh_authorized_keys:
{{ k8s.ssh.pub.key }}
write_files: