1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

Can't create kubernetes resources with a username longer than 63 characters (#4672)

* fix(kubernetes): truncate username when we create resource

* fix(k8s): remove forbidden characters in owner label
This commit is contained in:
Maxime Bajeux 2021-01-12 02:35:59 +01:00 committed by GitHub
parent cbd7fdc62e
commit 4cd468ce21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 6 deletions

View file

@ -1,5 +1,4 @@
import * as JsonPatch from 'fast-json-patch';
import { KubernetesDaemonSet } from 'Kubernetes/models/daemon-set/models';
import { KubernetesDaemonSetCreatePayload } from 'Kubernetes/models/daemon-set/payloads';
import {