mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 06:49: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
|
@ -7,7 +7,7 @@ export const KubernetesPortainerConfigurationDataAnnotation = 'io.portainer.kube
|
|||
const _KubernetesConfiguration = Object.freeze({
|
||||
Id: 0,
|
||||
Name: '',
|
||||
Type: '',
|
||||
Kind: '',
|
||||
Namespace: '',
|
||||
CreationDate: '',
|
||||
ConfigurationOwner: '',
|
||||
|
@ -23,7 +23,19 @@ export class KubernetesConfiguration {
|
|||
}
|
||||
}
|
||||
|
||||
export const KubernetesConfigurationTypes = Object.freeze({
|
||||
export const KubernetesConfigurationKinds = Object.freeze({
|
||||
CONFIGMAP: 1,
|
||||
SECRET: 2,
|
||||
});
|
||||
|
||||
export const KubernetesSecretTypes = Object.freeze({
|
||||
OPAQUE: { name: 'Opaque', value: 'Opaque' },
|
||||
SERVICEACCOUNTTOKEN: { name: 'Service account token', value: 'kubernetes.io/service-account-token' },
|
||||
DOCKERCFG: { name: 'Dockercfg', value: 'kubernetes.io/dockercfg' },
|
||||
DOCKERCONFIGJSON: { name: 'Dockerconfigjson', value: 'kubernetes.io/dockerconfigjson' },
|
||||
BASICAUTH: { name: 'Basic auth', value: 'kubernetes.io/basic-auth' },
|
||||
SSHAUTH: { name: 'SSH auth', value: 'kubernetes.io/ssh-auth' },
|
||||
TLS: { name: 'TLS', value: 'kubernetes.io/tls' },
|
||||
BOOTSTRAPTOKEN: { name: 'Bootstrap token', value: 'bootstrap.kubernetes.io/token' },
|
||||
CUSTOM: { name: 'Custom', value: 'Custom' },
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue