Skip to content

Commit

Permalink
Upgrade skaffold config version (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
timebertt authored Apr 20, 2024
1 parent 23792f9 commit e3c7606
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
32 changes: 16 additions & 16 deletions hack/config/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: cert-manager
Expand Down Expand Up @@ -30,7 +30,7 @@ deploy:
done
exit 1
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: cert-manager-resources
Expand All @@ -46,7 +46,7 @@ deploy:
- --force-conflicts
defaultNamespace: ""
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: ingress-nginx
Expand Down Expand Up @@ -86,7 +86,7 @@ profiles:
paths:
- hack/config/ingress-nginx/shoot
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: kyverno
Expand Down Expand Up @@ -119,7 +119,7 @@ deploy:
done
exit 1
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: policy
Expand All @@ -142,13 +142,11 @@ profiles:
- --force-conflicts
defaultNamespace: ""
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: sharder
build:
tagPolicy:
inputDigest: {}
artifacts:
- image: ghcr.io/timebertt/kubernetes-controller-sharding/sharder
ko:
Expand All @@ -157,6 +155,8 @@ build:
- go.mod
- '**/*.go'
main: ./cmd/sharder
tagPolicy:
inputDigest: {}
local:
concurrency: 0
manifests:
Expand Down Expand Up @@ -186,13 +186,11 @@ profiles:
path: /manifests/kustomize/paths/0
value: hack/config/sharder/local
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: shard
build:
tagPolicy:
inputDigest: {}
artifacts:
- image: ghcr.io/timebertt/kubernetes-controller-sharding/shard
ko:
Expand All @@ -201,6 +199,8 @@ build:
- go.mod
- '**/*.go'
main: ./cmd/shard
tagPolicy:
inputDigest: {}
local:
concurrency: 0
manifests:
Expand All @@ -216,7 +216,7 @@ deploy:
- --force-conflicts
defaultNamespace: ""
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: monitoring-crds
Expand All @@ -232,7 +232,7 @@ deploy:
- --force-conflicts
defaultNamespace: ""
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: monitoring
Expand Down Expand Up @@ -276,13 +276,11 @@ profiles:
path: /manifests/kustomize/paths/0
value: hack/config/monitoring/shoot
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: profiling
build:
tagPolicy:
inputDigest: {}
artifacts:
- image: ghcr.io/timebertt/kubernetes-controller-sharding/janitor
ko:
Expand All @@ -291,6 +289,8 @@ build:
- go.mod
- ./hack/cmd/janitor/**/*.go
main: ./hack/cmd/janitor
tagPolicy:
inputDigest: {}
local:
concurrency: 0
manifests:
Expand Down
16 changes: 8 additions & 8 deletions webhosting-operator/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: policy
Expand All @@ -19,13 +19,11 @@ profiles:
defaultNamespace: ""
statusCheck: false
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: webhosting-operator
build:
tagPolicy:
inputDigest: {}
artifacts:
- image: ghcr.io/timebertt/kubernetes-controller-sharding/webhosting-operator
ko:
Expand All @@ -34,6 +32,8 @@ build:
- go.mod
- '**/*.go'
main: ./cmd/webhosting-operator
tagPolicy:
inputDigest: {}
local:
concurrency: 0
manifests:
Expand Down Expand Up @@ -97,7 +97,7 @@ profiles:
# singleton controller without sharding for comparison
value: config/manager/overlays/shoot/non-sharded
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: experiment
Expand All @@ -106,8 +106,6 @@ profiles:
activation:
- env: EXPERIMENT_SCENARIO=.+
build:
tagPolicy:
inputDigest: {}
artifacts:
- image: ghcr.io/timebertt/kubernetes-controller-sharding/experiment
ko:
Expand All @@ -116,6 +114,8 @@ profiles:
- go.mod
- '**/*.go'
main: ./cmd/experiment
tagPolicy:
inputDigest: {}
local:
concurrency: 0
manifests:
Expand Down Expand Up @@ -155,7 +155,7 @@ profiles:
exit 1
fi
---
apiVersion: skaffold/v4beta9
apiVersion: skaffold/v4beta10
kind: Config
metadata:
name: monitoring
Expand Down

0 comments on commit e3c7606

Please sign in to comment.