From c726a0ae20957ebd3aeb418a0d43b5a59c1f00b9 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sat, 14 May 2022 21:36:41 +0700 Subject: [PATCH] style: fix YAML lint --- .tekton/pipeline.yaml | 1 + .tekton/tasks/check-git-files-changed.yaml | 8 ++++---- apps/matrix/values.yaml | 6 +++--- system/descheduler/values.yaml | 2 +- system/kured/Chart.yaml | 6 +++--- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.tekton/pipeline.yaml b/.tekton/pipeline.yaml index 637a39d8..bbff91e5 100644 --- a/.tekton/pipeline.yaml +++ b/.tekton/pipeline.yaml @@ -59,6 +59,7 @@ spec: - -v - --force-color - name: yaml + workingDir: /workspace/source command: - yamllint args: diff --git a/.tekton/tasks/check-git-files-changed.yaml b/.tekton/tasks/check-git-files-changed.yaml index a7343ccf..4f5d6d81 100644 --- a/.tekton/tasks/check-git-files-changed.yaml +++ b/.tekton/tasks/check-git-files-changed.yaml @@ -28,10 +28,10 @@ spec: - name: check-files-changed image: alpine/git env: - - name: GIT_CLONE_DEPTH - value: $(params.gitCloneDepth) - - name: REGEX - value: $(params.regex) + - name: GIT_CLONE_DEPTH + value: $(params.gitCloneDepth) + - name: REGEX + value: $(params.regex) script: | #!/bin/sh set -ex diff --git a/apps/matrix/values.yaml b/apps/matrix/values.yaml index 576943a1..d996c7ca 100644 --- a/apps/matrix/values.yaml +++ b/apps/matrix/values.yaml @@ -31,9 +31,9 @@ dendrite: version: 2 servername: &backend_host matrix.khuedoan.com database: - host: "matrix-postgresql:5432" - user: "dendrite" - password: "dendrite" + host: matrix-postgresql:5432 + user: dendrite + password: dendrite max_open_conns: 100 max_idle_conns: 2 conn_max_lifetime: -1 diff --git a/system/descheduler/values.yaml b/system/descheduler/values.yaml index d6276191..a72b8051 100644 --- a/system/descheduler/values.yaml +++ b/system/descheduler/values.yaml @@ -9,7 +9,7 @@ descheduler: enabled: true params: nodeAffinityType: - - requiredDuringSchedulingIgnoredDuringExecution + - requiredDuringSchedulingIgnoredDuringExecution RemovePodsViolatingInterPodAntiAffinity: enabled: true LowNodeUtilization: diff --git a/system/kured/Chart.yaml b/system/kured/Chart.yaml index 67111d4d..ed52c94f 100644 --- a/system/kured/Chart.yaml +++ b/system/kured/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 name: kured version: 0.0.0 dependencies: -- name: kured - version: 2.12.0 - repository: https://weaveworks.github.io/kured + - name: kured + version: 2.12.0 + repository: https://weaveworks.github.io/kured