Skip to content

Commit

Permalink
Define ko dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranzke committed Oct 6, 2022
1 parent c3375a7 commit 291732a
Showing 1 changed file with 164 additions and 8 deletions.
172 changes: 164 additions & 8 deletions skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,100 @@ build:
ko:
main: ./cmd/gardener-apiserver
ldflags:
- "{{.LD_FLAGS}}"
- "{{.LD_FLAGS}}"
dependencies:
paths:
- cmd/gardener-apiserver
- cmd/utils
- pkg/api
- pkg/apis
- pkg/apiserver
- pkg/client
- pkg/controllerutils
- pkg/extensions
- pkg/features
- pkg/gardenlet/apis/config
- pkg/logger
- pkg/openapi
- pkg/registry
- pkg/resourcemanager/controller/garbagecollector/references
- pkg/utils
- plugin
- vendor
- image: eu.gcr.io/gardener-project/gardener/controller-manager
ko:
main: ./cmd/gardener-controller-manager
ldflags:
- "{{.LD_FLAGS}}"
- "{{.LD_FLAGS}}"
dependencies:
paths:
- cmd/gardener-controller-manager
- cmd/utils
- pkg/api/indexer
- pkg/apis
- pkg/client/kubernetes
- pkg/controllermanager
- pkg/controllerutils
- pkg/extensions
- pkg/features
- pkg/gardenlet/apis/config
- pkg/gardenlet/features
- pkg/healthz
- pkg/logger
- pkg/operation
- pkg/resourcemanager/controller/garbagecollector/references
- pkg/resourcemanager/controller/rootcapublisher
- pkg/resourcemanager/webhook/podschedulername
- pkg/resourcemanager/webhook/podtopologyspreadconstraints
- pkg/resourcemanager/webhook/podzoneaffinity
- pkg/resourcemanager/webhook/projectedtokenmount
- pkg/resourcemanager/webhook/seccompprofile
- pkg/resourcemanager/webhook/tokeninvalidator
- pkg/utils
- vendor
- image: eu.gcr.io/gardener-project/gardener/scheduler
ko:
main: ./cmd/gardener-scheduler
ldflags:
- "{{.LD_FLAGS}}"
- "{{.LD_FLAGS}}"
dependencies:
paths:
- cmd/gardener-scheduler
- cmd/utils
- pkg/apis
- pkg/client/core
- pkg/client/kubernetes
- pkg/controllerutils/predicate
- pkg/controllerutils/routes
- pkg/features
- pkg/gardenlet/apis/config
- pkg/healthz
- pkg/logger
- pkg/resourcemanager/controller/garbagecollector/references
- pkg/scheduler
- pkg/utils
- vendor
- image: eu.gcr.io/gardener-project/gardener/admission-controller
ko:
main: ./cmd/gardener-admission-controller
ldflags:
- "{{.LD_FLAGS}}"
- "{{.LD_FLAGS}}"
dependencies:
paths:
- cmd/gardener-admission-controller
- cmd/utils
- pkg/admissioncontroller
- pkg/apis
- pkg/chartrenderer
- pkg/client/kubernetes
- pkg/controllerutils
- pkg/gardenlet/apis/config
- pkg/gardenlet/bootstrap/util
- pkg/healthz
- pkg/logger
- pkg/resourcemanager/controller/garbagecollector/references
- pkg/utils
- vendor
deploy:
helm:
releases:
Expand Down Expand Up @@ -75,10 +153,28 @@ build:
ko:
main: ./cmd/gardener-extension-provider-local
ldflags:
- "{{.LD_FLAGS}}"
- "{{.LD_FLAGS}}"
dependencies:
paths:
- pkg/provider-local/imagevector
- charts/gardener/provider-local/internal
- cmd/gardener-extension-provider-local
- cmd/utils
- extensions
- pkg/api/core
- pkg/api/extensions
- pkg/apis
- pkg/chartrenderer
- pkg/client/kubernetes
- pkg/controllerutils
- pkg/extensions
- pkg/gardenlet/apis/config
- pkg/healthz
- pkg/logger
- pkg/operation/botanist/component
- pkg/provider-local
- pkg/resourcemanager/controller/garbagecollector/references
- pkg/utils
- vendor
deploy:
helm:
releases:
Expand Down Expand Up @@ -138,17 +234,77 @@ build:
ko:
main: ./cmd/gardenlet
ldflags:
- "{{.LD_FLAGS}}"
- "{{.LD_FLAGS}}"
dependencies:
paths:
- charts
- pkg/operation/botanist/component
- cmd/gardenlet
- cmd/utils
- pkg/api/extensions
- pkg/api/indexer
- pkg/apis
- pkg/chartrenderer
- pkg/client/kubernetes
- pkg/controllerutils
- pkg/extensions
- pkg/features
- pkg/gardenlet
- pkg/healthz
- pkg/logger
- pkg/operation
- pkg/resourcemanager/controller/garbagecollector/references
- pkg/resourcemanager/controller/rootcapublisher
- pkg/resourcemanager/webhook/podschedulername
- pkg/resourcemanager/webhook/podtopologyspreadconstraints
- pkg/resourcemanager/webhook/podzoneaffinity
- pkg/resourcemanager/webhook/projectedtokenmount
- pkg/resourcemanager/webhook/seccompprofile
- pkg/resourcemanager/webhook/tokeninvalidator
- pkg/seedadmissioncontroller/webhooks/admission
- pkg/seedadmissioncontroller/webhooks/admission/extensioncrds
- pkg/seedadmissioncontroller/webhooks/admission/extensionresources
- pkg/seedadmissioncontroller/webhooks/admission/podschedulername
- pkg/utils
- third_party
- vendor
- image: eu.gcr.io/gardener-project/gardener/resource-manager
ko:
main: ./cmd/gardener-resource-manager
ldflags:
- "{{.LD_FLAGS}}"
dependencies:
paths:
- cmd/gardener-resource-manager
- cmd/utils
- pkg/apis
- pkg/client/kubernetes
- pkg/controllerutils
- pkg/gardenlet/apis/config
- pkg/healthz
- pkg/logger
- pkg/resourcemanager
- pkg/utils
- vendor
- image: eu.gcr.io/gardener-project/gardener/seed-admission-controller
ko:
main: ./cmd/gardener-seed-admission-controller
ldflags:
- "{{.LD_FLAGS}}"
dependencies:
paths:
- cmd/gardener-seed-admission-controller
- cmd/utils
- pkg/apis
- pkg/client/kubernetes
- pkg/controllerutils
- pkg/extensions
- pkg/gardenlet/apis/config
- pkg/healthz
- pkg/logger
- pkg/resourcemanager/controller/garbagecollector/references
- pkg/seedadmissioncontroller
- pkg/utils
- vendor
deploy:
helm:
hooks:
Expand Down

0 comments on commit 291732a

Please sign in to comment.