update secret to match case if imported keys
This commit is contained in:
parent
94f9b7fb96
commit
40fe789509
1 changed files with 4 additions and 4 deletions
|
@ -43,11 +43,11 @@ spec:
|
|||
},
|
||||
{
|
||||
username = "tasmota"
|
||||
password = "{{ .X_EMQX_TASMOTA_PASSWORD }}"
|
||||
password = "{{ .x-emqx-tasmota-password }}"
|
||||
},
|
||||
{
|
||||
username = "homeassistant"
|
||||
password = "{{ .X_EMQX_HOMEASSISTANT_PASSWORD }}"
|
||||
password = "{{ .x-emqx-homeassistant-password }}"
|
||||
}
|
||||
]
|
||||
|
||||
|
@ -59,10 +59,10 @@ spec:
|
|||
rewrite:
|
||||
- regexp:
|
||||
source: "(.*)"
|
||||
target: "X_EMQX_TASMOTA_$1"
|
||||
target: "x-emqx-tasmota-$1"
|
||||
- extract:
|
||||
key: "emqx [homeassistant]"
|
||||
rewrite:
|
||||
- regexp:
|
||||
source: "(.*)"
|
||||
target: "X_EMQX_HOMEASSISTANT_$1"
|
||||
target: "x-emqx-homeassistant-$1"
|
||||
|
|
Loading…
Reference in a new issue