mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
feat(secrets): allow creating secrets beyond opaque [EE-2625] (#7709)
This commit is contained in:
parent
3b2f0ff9eb
commit
4e20d70a99
23 changed files with 659 additions and 135 deletions
|
@ -5,11 +5,13 @@ const _KubernetesApplicationSecret = Object.freeze({
|
|||
Id: 0,
|
||||
Name: '',
|
||||
Namespace: '',
|
||||
Type: '',
|
||||
CreationDate: '',
|
||||
ConfigurationOwner: '',
|
||||
Yaml: '',
|
||||
Data: [],
|
||||
SecretType: '',
|
||||
Annotations: [],
|
||||
});
|
||||
|
||||
export class KubernetesApplicationSecret {
|
||||
|
|
|
@ -5,7 +5,7 @@ import { KubernetesCommonMetadataPayload } from 'Kubernetes/models/common/payloa
|
|||
*/
|
||||
const _KubernetesSecretCreatePayload = Object.freeze({
|
||||
metadata: new KubernetesCommonMetadataPayload(),
|
||||
type: 'Opaque',
|
||||
type: '',
|
||||
data: {},
|
||||
stringData: {},
|
||||
});
|
||||
|
@ -21,7 +21,7 @@ export class KubernetesSecretCreatePayload {
|
|||
*/
|
||||
const _KubernetesSecretUpdatePayload = Object.freeze({
|
||||
metadata: new KubernetesCommonMetadataPayload(),
|
||||
type: 'Opaque',
|
||||
type: '',
|
||||
data: {},
|
||||
stringData: {},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue