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 ~256kbmammoth-flag-56137
02/21/2023, 3:28 AMapiVersion: 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 PMquaint-dress-831
02/21/2023, 1:26 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 AMgentle-umbrella-55872
05/19/2024, 3:14 PMgentle-umbrella-55872
05/20/2024, 9:07 AMspec.applyArgs
to open a range of special cases. It's a little bit complicated but i think an already a known syntax for garden 🙂quaint-dress-831
05/20/2024, 9:09 AMgentle-umbrella-55872
05/20/2024, 9:12 AMchilly-gigabyte-83853
05/22/2024, 3:08 PMgentle-umbrella-55872
08/18/2024, 6:49 AMgentle-umbrella-55872
08/18/2024, 7:32 AM