forked from gardener/gardener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold-operator-garden.yaml
47 lines (47 loc) · 1.31 KB
/
skaffold-operator-garden.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
apiVersion: skaffold/v4beta7
kind: Config
metadata:
name: garden
manifests:
rawYaml:
- example/operator/20-garden.yaml
deploy:
statusCheck: false # enabled status check would watch all deployments in the garden namespace
kubectl:
hooks:
after:
- host:
command:
- bash
- -ec
- hack/usage/wait-for.sh garden local VirtualGardenAPIServerAvailable RuntimeComponentsHealthy VirtualComponentsHealthy
- host:
command:
- bash
- -ec
- kubectl -n garden get secret gardener -o jsonpath={.data.kubeconfig} | base64 -d > $VIRTUAL_GARDEN_KUBECONFIG
---
apiVersion: skaffold/v4beta7
kind: Config
metadata:
name: garden-config
build:
artifacts:
- image: local-skaffold/gardener-extension-provider-local-node
context: pkg/provider-local/node
docker: {}
manifests:
rawYaml:
- example/00-namespace-garden.yaml
- example/gardener-local/controlplane/domain-secrets.yaml
- example/gardener-local/gardenlet/secret-bootstrap-token.yaml
kustomize:
paths:
- example/provider-local/garden/skaffold-operator
- example/provider-local/seed-operator/skaffold
resourceSelector:
allow:
- groupKind: CloudProfile.core.gardener.cloud
image: [".*"]
deploy:
kubectl: {}