forked from gardener/gardener-extension-registry-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
75 lines (75 loc) · 2.31 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
---
apiVersion: skaffold/v4beta3
kind: Config
metadata:
name: extension
build:
artifacts:
- image: eu.gcr.io/gardener-project/gardener/extensions/registry-cache
ko:
dependencies:
paths:
- cmd/gardener-extension-registry-cache/app
- imagevector
- pkg/apis/config
- pkg/apis/config/v1alpha1
- pkg/apis/config/validation
- pkg/apis/registry
- pkg/apis/registry/install
- pkg/apis/registry/v1alpha1
- pkg/apis/registry/v1alpha1/helper
- pkg/cmd
- pkg/component/registrycaches
- pkg/component/registryconfigurationcleaner
- pkg/constants
- pkg/controller/extension
- pkg/utils/registry
- pkg/webhook/operatingsystemconfig
- vendor
- VERSION
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:
rawYaml:
- example/controller-registration.yaml
deploy:
kubectl: {}
---
apiVersion: skaffold/v4beta3
kind: Config
metadata:
name: admission
build:
artifacts:
- image: eu.gcr.io/gardener-project/gardener/extensions/registry-cache-admission
ko:
dependencies:
paths:
- cmd/gardener-extension-registry-cache-admission/app
- pkg/admission/cmd
- pkg/admission/validator
- pkg/apis/registry
- pkg/apis/registry/helper
- pkg/apis/registry/install
- pkg/apis/registry/v1alpha1
- pkg/apis/registry/validation
- pkg/constants
- vendor
- VERSION
main: ./cmd/gardener-extension-registry-cache-admission
deploy:
helm:
releases:
- name: gardener-extension-registry-cache-admission
namespace: garden
wait: true
chartPath: charts/admission
valuesFiles:
- example/admission/values.yaml
setValueTemplates:
runtime.image.repository: '{{.IMAGE_REPO_eu_gcr_io_gardener_project_gardener_extensions_registry_cache_admission}}'
runtime.image.tag: '{{.IMAGE_TAG_eu_gcr_io_gardener_project_gardener_extensions_registry_cache_admission}}@{{.IMAGE_DIGEST_eu_gcr_io_gardener_project_gardener_extensions_registry_cache_admission}}'