Skip to content

Commit

Permalink
Merge pull request #53 from eva-vashkevich/iss49
Browse files Browse the repository at this point in the history
[Fix] Disabled Based64 encoding
  • Loading branch information
eva-vashkevich authored Apr 25, 2024
2 parents 0d3ec5b + a2b0126 commit 20b3b73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
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 @@ -367,7 +365,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 @@ -94,6 +94,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
placeholder: eg. v1.0.0
Expand Down

0 comments on commit 20b3b73

Please sign in to comment.