mammoth-flag-56137
02/21/2023, 3:26 AM--server-side
to kubectl apply
when applying kubenetes manifests?
https://kubernetes.io/docs/reference/using-api/server-side-apply/
I'm trying to create a ~1mb configmap with garden and because of limitations with kubectl apply it fails due to being bigger than ~256kbapiVersion: v1
kind: ConfigMap
metadata:
name: password-blacklist
data:
blacklist.txt: |
123456
password
12345678
qwerty
123456789
12345
garden.yml
kind: Module
type: kubernetes
name: password-blacklist
files:
- password-blacklist.yaml
log snippet:
kubectl
apply --output=json -f -
stderr: >-
The ConfigMap "password-blacklist" is invalid:
metadata.annotations: Too long: must have at most 262144 bytes
quaint-dress-831
02/21/2023, 1:14 PMmammoth-flag-56137
02/24/2023, 2:47 AMbright-policeman-43626
02/24/2023, 3:54 AMmammoth-flag-56137
02/24/2023, 6:43 AMbright-policeman-43626
02/24/2023, 7:08 AMmammoth-flag-56137
02/24/2023, 7:26 AMquaint-dress-831
02/24/2023, 10:36 AM