Skip to content

Commit 0828eb3

Browse files
committed
Allow running demo locally
1 parent 3b4d4e2 commit 0828eb3

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

hack/config/skaffold.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,22 @@ profiles:
389389
path: /manifests/kustomize/paths/0
390390
value: webhosting-operator/config/manager/overlays/debug
391391
- name: non-sharded
392+
activation:
393+
- env: ENABLE_SHARDING=false
392394
patches:
393395
- op: replace
394396
path: /manifests/kustomize/paths/0
395397
# singleton controller without sharding for comparison
396398
value: webhosting-operator/config/manager/overlays/non-sharded
399+
- name: non-sharded-devel
400+
requiresAllActivations: true
401+
activation:
402+
- env: ENABLE_SHARDING=false
403+
- env: DEVEL=true
404+
patches:
405+
- op: replace
406+
path: /manifests/kustomize/paths/0
407+
value: webhosting-operator/config/manager/overlays/non-sharded-devel
397408
# The following profiles are variants of the default and non-sharded profiles for running on the shoot cluster
398409
# with dns for websites enabled.
399410
- name: shoot
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
resources:
5+
- ../non-sharded
6+
7+
components:
8+
- ../../devel

0 commit comments

Comments
 (0)