From b1778cc242fea76f48fa0b612efb2a2986a3ffbc Mon Sep 17 00:00:00 2001 From: John Bampton Date: Wed, 29 May 2024 00:25:17 +1000 Subject: [PATCH] pre-commit: add hook `check-yaml` https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-yaml --- .pre-commit-config.yaml | 2 +- .../src/main/resources/conf/k8s-control-node-add.yml | 2 +- .../src/main/resources/conf/k8s-control-node.yml | 2 +- .../kubernetes-service/src/main/resources/conf/k8s-node.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e8f3c6093a9a..477639fa8d7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: - id: check-merge-conflict - id: check-symlinks - id: check-vcs-permalinks - #- id: check-yaml + - id: check-yaml - 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 6819723b3f04..59cb1fccb1c2 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 90be8957d440..a7dd6f2035ce 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 ac80e8576ffe..7e0214b711f2 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: