Lint yaml better

This commit is contained in:
Greg Hellings
2025-11-02 23:45:16 -06:00
parent 518c3898b6
commit af41fd6b92
12 changed files with 86 additions and 32 deletions
+4
View File
@@ -6,6 +6,7 @@ metadata:
spec:
provider:
webhook:
# yamllint disable-line rule:line-length
url: "http://bitwarden-cli.bitwarden.svc.cluster.local:8087/object/item/{{ .remoteRef.key }}"
headers:
Content-Type: application/json
@@ -19,6 +20,7 @@ metadata:
spec:
provider:
webhook:
# yamllint disable-line rule:line-length
url: "http://bitwarden-cli.bitwarden.svc.cluster.local:8087/object/item/{{ .remoteRef.key }}"
result:
jsonPath: '$.data.fields[?@.name=="{{ .remoteRef.property }}"].value'
@@ -30,6 +32,7 @@ metadata:
spec:
provider:
webhook:
# yamllint disable-line rule:line-length
url: "http://bitwarden-cli.bitwarden.svc.cluster.local:8087/object/item/{{ .remoteRef.key }}"
result:
jsonPath: "$.data.notes"
@@ -41,5 +44,6 @@ metadata:
spec:
provider:
webhook:
# yamllint disable-line rule:line-length
url: "http://bitwarden-cli.bitwarden.svc.cluster.local:8087/object/attachment/{{ .remoteRef.property }}?itemid={{ .remoteRef.key }}"
result: {}
+6 -5
View File
@@ -21,11 +21,12 @@ spec:
spec:
containers:
- name: bitwarden-cli
# Since my gitlab instance depends on the database hosted in k3s, and the
# database depends on this image, I need a way to bootstrap the system if
# I am doing disaster recovery. And this is it.
image: "ghcr.io/greg-hellings/nixos-config/img-bitwarden:latest"
#image: "registry.thehellings.com/greg/nixos-config/img-bitwarden:latest"
# Since my gitlab instance depends on the database hosted in k3s, and
# the database depends on this image, I need a way to bootstrap the
# system if # I am doing disaster recovery. And this is it.
#image: "ghcr.io/greg-hellings/nixos-config/img-bitwarden:latest"
image: >-
registry.thehellings.com/greg/nixos-config/img-bitwarden:latest
imagePullPolicy: Always
env:
- name: BW_CLIENTID