You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/custom-resource-config.mdx
+27-9Lines changed: 27 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -510,7 +510,9 @@ The `bool` input type should use a "0" or "1" to set the value
510
510
default: "0"
511
511
```
512
512
513
-

513
+

514
+
515
+
[View a larger version of this image](/images/config-screen-bool.png)
514
516
515
517
### `dropdown`
516
518
@@ -541,6 +543,14 @@ spec:
541
543
title: 1.2.5
542
544
```
543
545
546
+

547
+
548
+
[View a larger version of this image](/images/config-screen-dropdown.png)
549
+
550
+

551
+
552
+
[View a larger version of this image](/images/config-screen-dropdown-open.png)
553
+
544
554
### `file`
545
555
A `file` is a special type of form field that renders an [`<input type="file" />`](https://www.w3schools.com/tags/tag_input.asp) HTML element.
546
556
Only the contents of the file, not the name, are captured.
@@ -558,7 +568,9 @@ See the [`ConfigOptionData`](template-functions-config-context#configoptiondata)
558
568
type: file
559
569
```
560
570
561
-

571
+

572
+
573
+
[View a larger version of this image](/images/config-screen-file.png)
562
574
563
575
### `heading`
564
576
The `heading` type allows you to display a group heading as a sub-element within a group.
@@ -575,7 +587,9 @@ This is useful when you would like to use a config group to group items together
575
587
...
576
588
```
577
589
578
-

590
+

591
+
592
+
[View a larger versio of this image](/images/config-screen-heading.png)
579
593
580
594
### `label`
581
595
The `label` type allows you to display an input label.
@@ -590,7 +604,9 @@ The `label` type allows you to display an input label.
590
604
type: label
591
605
title: "Note: The system will send you an email every hour."
592
606
```
593
-

607
+

608
+
609
+
[View a larger version of this image](/images/config-screen-label.png)
594
610
595
611
### `password`
596
612
The `password` type is a text field that hides the character input.
@@ -602,7 +618,9 @@ The `password` type is a text field that hides the character input.
602
618
value: '{{repl RandomString 10}}'
603
619
```
604
620
605
-

621
+

622
+
623
+
[View a larger version of this image](/images/config-screen-password.png)
606
624
607
625
### `radio`
608
626
@@ -671,7 +689,7 @@ Optionally, all additional properties are available for this input type.
671
689
type: text
672
690
```
673
691
674
-

692
+

675
693
676
694
:::important
677
695
Do not store secrets or passwords in `text` items because they are not encrypted or masked and can be easily accessed. Instead, use [`password`](#password) items.
@@ -692,7 +710,7 @@ A `textarea` items creates a multi-line text input for when users have to enter
692
710
title: Hostname
693
711
type: text
694
712
```
695
-

713
+

696
714
697
715
## Item Validation
698
716
@@ -714,9 +732,9 @@ For applications installed with KOTS v1.98.0 or later, a `regex` can be used to
0 commit comments