-
Notifications
You must be signed in to change notification settings - Fork 19
/
skaffold.yaml
98 lines (98 loc) · 3.13 KB
/
skaffold.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
apiVersion: skaffold/v4beta3
kind: Config
metadata:
name: extension
build:
artifacts:
- image: local-skaffold/gardener-extension-registry-cache
ko:
dependencies:
paths:
- cmd/gardener-extension-registry-cache
- cmd/gardener-extension-registry-cache/app
- imagevector
- imagevector/images.yaml
- pkg/apis/config
- pkg/apis/config/v1alpha1
- pkg/apis/config/validation
- pkg/apis/mirror
- pkg/apis/mirror/install
- pkg/apis/mirror/v1alpha1
- pkg/apis/registry
- pkg/apis/registry/helper
- pkg/apis/registry/install
- pkg/apis/registry/v1alpha3
- pkg/cmd
- pkg/component/registrycaches
- pkg/component/registrycaches/monitoring/dashboard.json
- pkg/component/registrycaches/templates/config.yml.tpl
- pkg/constants
- pkg/controller/cache
- pkg/controller/mirror
- pkg/utils/registry
- pkg/webhook/cache
- pkg/webhook/mirror
- VERSION
ldflags:
- '{{.LD_FLAGS}}'
main: ./cmd/gardener-extension-registry-cache
resourceSelector:
allow:
# instruct skaffold to inject the built image reference into the image field in our ControllerDeployment
- groupKind: ControllerDeployment.core.gardener.cloud
image: [".*"]
manifests:
kustomize:
paths:
- local-setup
deploy:
kubectl: {}
---
apiVersion: skaffold/v4beta3
kind: Config
metadata:
name: admission
build:
artifacts:
- image: local-skaffold/gardener-extension-registry-cache-admission
ko:
dependencies:
paths:
- cmd/gardener-extension-registry-cache-admission
- cmd/gardener-extension-registry-cache-admission/app
- pkg/admission/cmd
- pkg/admission/validator/cache
- pkg/admission/validator/helper
- pkg/admission/validator/mirror
- pkg/apis/mirror
- pkg/apis/mirror/install
- pkg/apis/mirror/v1alpha1
- pkg/apis/mirror/validation
- pkg/apis/registry
- pkg/apis/registry/helper
- pkg/apis/registry/install
- pkg/apis/registry/v1alpha3
- pkg/apis/registry/validation
- pkg/constants
- VERSION
ldflags:
- '{{.LD_FLAGS}}'
main: ./cmd/gardener-extension-registry-cache-admission
deploy:
helm:
releases:
- name: gardener-extension-registry-cache-admission
namespace: garden
wait: true
chartPath: charts/admission
setValueTemplates:
global.image.repository: '{{.IMAGE_REPO_local_skaffold_gardener_extension_registry_cache_admission}}'
global.image.tag: '{{.IMAGE_TAG_local_skaffold_gardener_extension_registry_cache_admission}}@{{.IMAGE_DIGEST_local_skaffold_gardener_extension_registry_cache_admission}}'
profiles:
- name: remote-extensions
patches:
- op: add
path: /deploy/helm/releases/0/setValues
value:
global.vpa.enabled: false