Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const stubs = {
Banner: { name: 'Banner', template: '<div><slot /></div>' },
LabeledSelect: LabeledSelectStub,
Checkbox: {
name: 'Checkbox', template: '<input type="checkbox" :checked="value" @change="$emit(\'update:value\', $event.target.checked)" />', props: ['value']
name: 'Checkbox', template: '<input type="checkbox" :checked="value" @change="$emit(\'update:value\', $event.target.checked)" />', props: ['value', 'label', 'tooltip']
},
FileSelector: { name: 'FileSelector', template: '<button @click="$emit(\'selected\', \'file-content\')">Read</button>' }
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export default {
/>
<div class="mt-10">
<FileSelector
class="btn btn-sm role-secondary"
class="btn btn-sm role-tertiary"
:label="t('generic.readFromFile')"
@selected="onFileSelected"
/>
Expand All @@ -394,6 +394,7 @@ export default {
<Checkbox
v-model:value="value.spec.insecure"
:label="t('imageScanner.registries.configuration.cru.registry.insecure.label')"
:tooltip="t('imageScanner.registries.configuration.cru.registry.insecure.tooltip')"
data-testid="auth-insecure-checkbox"
/>
</div>
Expand Down Expand Up @@ -542,7 +543,7 @@ export default {
<button
v-if="!isView"
type="button"
class="btn role-secondary btn-sm"
class="btn btn-sm role-tertiary"
@click="addPlatform"
>
{{ t('imageScanner.registries.configuration.cru.filters.add') }}
Expand Down
1 change: 1 addition & 0 deletions pkg/sbomscanner-ui-ext/l10n/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ imageScanner:
placeholder: "You can enter this manually or import it from a file using the button below."
insecure:
label: "Allow insecure connections"
tooltip: "Skips SSL/TLS certificate verification. Use only for testing or trusted internal networks."
proxy:
enable: Use the embedded proxy
tooltip: "When enabled, Rancher routes all registry traffic through its secure proxy instead of direct connections."
Expand Down