Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Disabled Based64 encoding #53

Merged
merged 1 commit into from
Apr 25, 2024
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 @@ -42,8 +42,6 @@ const customProviderSpec = {
version: ''
};

const providerTypes = ['infrastructure', 'bootstrap', 'controlPlane'];

interface Secret {
metadata: {
name: string,
Expand Down Expand Up @@ -111,7 +109,7 @@ export default (Vue as VueConstructor<
],
allNamespaces: [],
needCredential: providerDetails?.needCredentials || false,
typeOptions: providerTypes
typeOptions: [{ label: this.t('capi.provider.type.infrastructure.label'), value: 'infrastructure' }, { label: this.t('capi.provider.type.bootstrap.label'), value: 'bootstrap' }, { label: this.t('capi.provider.type.controlPlane.label'), value: 'controlPlane' }]
};
},
computed: {
Expand Down Expand Up @@ -364,7 +362,7 @@ export default (Vue as VueConstructor<
:add-label="t('capi.provider.variables.add')"
:mode="mode"
:value-can-be-empty="true"
:handle-base64="true"
:handle-base64="false"
:value-trim="false"
:add-allowed="true"
:read-allowed="true"
Expand Down
6 changes: 6 additions & 0 deletions pkg/capi/l10n/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ capi:
placeholder: Any text you want that better describes this provider
type:
label: Provider type
infrastructure:
label: Infrastructure
bootstrap:
label: Bootstrap
controlPlane:
label: Control Plane
version:
label: Version
fetchConfigURL:
Expand Down