Lint yaml better
This commit is contained in:
@@ -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: {}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user