chore: update changeset

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-06-14 11:12:18 +02:00
parent 504661ab09
commit fd8fe4598f
+29 -1
View File
@@ -3,4 +3,32 @@
'@backstage/plugin-scaffolder': minor
---
Replace `ui:widget: password` with the `ui:field: Secret` implementation
Replace `ui:widget: password` with the a warning message stating that it's not secure and to use the build in `SecretField`.
You can do this by updating your `template.yaml` files that have the reference `ui:widget: password` to `ui:field: Secret` instead.
```diff
apiVersion: backstage.io/v1alpha1
kind: Template
metadata:
...
spec:
parameters:
- title: collect some information
schema:
type: object
properties:
password:
title: Password
type: string
- ui:widget: password
+ ui:field: Secret
steps:
- id: collect-info
name: Collect some information
action: acme:do:something
input:
- password: ${{ parameters.password }}
+ password: ${{ secrets.password }}
```