@@ -172,9 +172,6 @@ apiVersion: skaffold/v4beta12
172172kind : Config
173173metadata :
174174 name : sharder
175- requires :
176- - configs :
177- - policy
178175build :
179176 artifacts :
180177 - image : ghcr.io/timebertt/kubernetes-controller-sharding/sharder
@@ -208,21 +205,19 @@ deploy:
208205 - --force-conflicts
209206 defaultNamespace : " "
210207profiles :
211- - name : kind
208+ - name : devel
212209 activation :
213210 - kubeContext : kind-.*
211+ - env : DEVEL=true
214212 patches :
215213 - op : replace
216214 path : /manifests/kustomize/paths/0
217- value : hack/config/sharder/local
215+ value : hack/config/sharder/devel
218216---
219217apiVersion : skaffold/v4beta12
220218kind : Config
221219metadata :
222220 name : checksum-controller
223- requires :
224- - configs :
225- - policy
226221build :
227222 artifacts :
228223 - image : ghcr.io/timebertt/kubernetes-controller-sharding/checksum-controller
@@ -342,10 +337,6 @@ apiVersion: skaffold/v4beta12
342337kind : Config
343338metadata :
344339 name : webhosting-operator
345- requires :
346- - configs :
347- - policy
348- - monitoring-crds
349340build :
350341 artifacts :
351342 - image : ghcr.io/timebertt/kubernetes-controller-sharding/webhosting-operator
@@ -382,6 +373,14 @@ deploy:
382373 - make
383374 - generate-fast-webhosting
384375profiles :
376+ - name : devel
377+ activation :
378+ - kubeContext : kind-.*
379+ - env : DEVEL=true
380+ patches :
381+ - op : replace
382+ path : /manifests/kustomize/paths/0
383+ value : webhosting-operator/config/manager/overlays/devel
385384 - name : debug
386385 activation :
387386 - command : debug
@@ -403,26 +402,47 @@ profiles:
403402 patches :
404403 - op : replace
405404 path : /manifests/kustomize/paths/0
406- # default configuration: only run operator shards and use external sharding implementation via ControllerRing
405+ # default configuration: run sharded operator and use external sharding implementation via ControllerRing
407406 value : webhosting-operator/config/manager/overlays/shoot/default
408407 - op : add
409408 path : /manifests/kustomize/paths/-
410409 value : webhosting-operator/config/policy
410+ - name : shoot-devel
411+ requiresAllActivations : true
412+ activation :
413+ - kubeContext : .*--sharding.*
414+ - env : DEVEL=true
415+ patches :
416+ - op : replace
417+ path : /manifests/kustomize/paths/0
418+ # default configuration + devel mode
419+ value : webhosting-operator/config/manager/overlays/shoot/devel
411420 - name : shoot-non-sharded
421+ requiresAllActivations : true
422+ activation :
423+ - kubeContext : .*--sharding.*
424+ - env : ENABLE_SHARDING=false
412425 patches :
413426 - op : replace
414427 path : /manifests/kustomize/paths/0
415428 # singleton controller without sharding for comparison
416429 value : webhosting-operator/config/manager/overlays/shoot/non-sharded
430+ - name : shoot-non-sharded-devel
431+ requiresAllActivations : true
432+ activation :
433+ - kubeContext : .*--sharding.*
434+ - env : ENABLE_SHARDING=false
435+ - env : DEVEL=true
436+ patches :
437+ - op : replace
438+ path : /manifests/kustomize/paths/0
439+ # non-sharded configuration + devel mode
440+ value : webhosting-operator/config/manager/overlays/shoot/non-sharded-devel
417441---
418442apiVersion : skaffold/v4beta12
419443kind : Config
420444metadata :
421445 name : experiment
422- requires :
423- - configs :
424- - policy
425- - monitoring-crds
426446profiles :
427447 - name : expirement
428448 activation :
0 commit comments