Skip to content

Commit

Permalink
chore: remove risingwavepodtemplate's crd file and webhook definitions (
Browse files Browse the repository at this point in the history
#506)

* chore: remove risingwavepodtemplate's crd file and webhook definitions

Signed-off-by: arkbriar <[email protected]>

* chore: update tools

Signed-off-by: arkbriar <[email protected]>

---------

Signed-off-by: arkbriar <[email protected]>
  • Loading branch information
arkbriar authored Sep 27, 2023
1 parent 5010417 commit 46ffea6
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 21,486 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/confi
CONTROLLER_GEN = $(shell pwd)/bin/$(OS)/controller-gen
controller-gen: ## Download controller-gen locally if necessary.
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2)
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0)
KUSTOMIZE = $(shell pwd)/bin/$(OS)/kustomize
kustomize: ## Download kustomize locally if necessary.
Expand All @@ -229,7 +229,7 @@ envtest: ## Download envtest-setup locally if necessary.
GOLANGCI-LINT = $(shell pwd)/bin/$(OS)/golangci-lint
golangci-lint: ## Download envtest-setup locally if necessary.
# $(call get-golangci-lint)
$(call go-get-tool,$(GOLANGCI-LINT),github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2)
$(call go-get-tool,$(GOLANGCI-LINT),github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.2)
CTRLKIT-GEN = $(shell pwd)/bin/$(OS)/ctrlkit-gen
ctrlkit-gen: ## Download ctrlkit locally if necessary.
Expand Down
1 change: 0 additions & 1 deletion apis/risingwave/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7,144 changes: 0 additions & 7,144 deletions config/crd/bases/risingwave.risingwavelabs.com_risingwavepodtemplates.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: risingwaves.risingwave.risingwavelabs.com
spec:
group: risingwave.risingwavelabs.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: risingwavescaleviews.risingwave.risingwavelabs.com
spec:
group: risingwave.risingwavelabs.com
Expand Down
1 change: 0 additions & 1 deletion config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# It should be run by config/default
resources:
- bases/risingwave.risingwavelabs.com_risingwaves.yaml
- bases/risingwave.risingwavelabs.com_risingwavepodtemplates.yaml
- bases/risingwave.risingwavelabs.com_risingwavescaleviews.yaml
#+kubebuilder:scaffold:crdkustomizeresource

Expand Down
36 changes: 0 additions & 36 deletions config/local/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,6 @@ webhooks:
resources:
- risingwaves
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
caBundle: 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV6akNDQXJhZ0F3SUJBZ0lKQUtZRDRDQ25DTmE5TUEwR0NTcUdTSWIzRFFFQkN3VUFNQlF4RWpBUUJnTlYKQkFNTUNXeHZZMkZzYUc5emREQWVGdzB5TWpBMk1qZ3hNak0zTWpCYUZ3MHpNakEyTWpVeE1qTTNNakJhTUJReApFakFRQmdOVkJBTU1DV3h2WTJGc2FHOXpkRENDQWlJd0RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dJUEFEQ0NBZ29DCmdnSUJBT3VtQ3Vwamo0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JmU09OWmk5ZlBSUWZHSUU1SDczUU1Nb21YdjRRVUZ3c3pkOVcKUzNIVENXOFBaOFgzb0ZFMHdRT0g4a01kMVBiaTBLVVhPNUd1QjAzU1REbkVNZitPeDhiTVFjL0ZJNXVoWU1wYwo2cjVWb2V4RjJQc3dFaUcvYTZFMGN2TXFFOEozMkVxZE5BdFEveUR0dlFhL0xaMHkzbFA0bkhrakt3QVJIN2FtCis1bUQyN3R1QXdRYjRNcHNqaGNrVDF2QVdia3R2Q1Q5Mk1laUUyZG5CcWRURmQvcXBEYjlIYS9HYkcveXA4NVEKMkloOGJzTldvZU93WkMyeGpXTDZRY0ZzOHBpYk5BZFVrRmd3eE1xRk84blc0Mm5CdGR4dGNxMFRmK0lUdmt1Sgpjenl1bG5rNVh0eTBEQ04zNXJZaTJBdkZQOFJROEZLTWhxWWlvR3lmRVM5bVFCQlJiUzJKdTlFRFNEYWE3YzRFClg0SkdvU2doTGZzVVRKSXdJT2p3YkxZVzM4a2d5WTgzT0R6Y2tCL2ZOd2IyQVMwRUpGQjhEaGNxQkpyZVJNd0EKV1E2ZTNvQUhOM01ETFV4U052QzFIYUNOVmh6OHliNEgySzZCaUI4ejFoYmpHbnJQR3ZGR2tjMmE5QlVhNXdtYworMWFGOU1zS3pueDdoMElLd1RsWWlCY1I0R3k2YnRtNGFaajNOcUZCTGFvNFJCR0Z4Q2ZwSFFzK3lzZUdnMTAwCnJDVFVsVWJTVUVuS05CbkttRGNoa2dnOFFreTV0cmFON0w4K0lOZ1o5a2JCSlIwZFFYRTRNTFllUk1zM093UHUKakFlY1NzQ3plRjRIU0h4aEFEMTJoZmlxZmlRRzU0WVFyaS9GV0lDY3NvdGtUZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K'
url: "https://host.docker.internal:9443/mutate-risingwave-risingwavelabs-com-v1alpha1-risingwavepodtemplate"
failurePolicy: Fail
name: mrisingwavepodtemplate.kb.io
rules:
- apiGroups:
- risingwave.risingwavelabs.com
apiVersions:
- v1alpha1
operations:
- CREATE
resources:
- risingwavepodtemplates
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
Expand Down Expand Up @@ -82,25 +65,6 @@ webhooks:
resources:
- risingwaves
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
caBundle: 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV6akNDQXJhZ0F3SUJBZ0lKQUtZRDRDQ25DTmE5TUEwR0NTcUdTSWIzRFFFQkN3VUFNQlF4RWpBUUJnTlYKQkFNTUNXeHZZMkZzYUc5emREQWVGdzB5TWpBMk1qZ3hNak0zTWpCYUZ3MHpNakEyTWpVeE1qTTNNakJhTUJReApFakFRQmdOVkJBTU1DV3h2WTJGc2FHOXpkRENDQWlJd0RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dJUEFEQ0NBZ29DCmdnSUJBT3VtQ3Vwamo0TXg1dDV5SWt6QU4rbTJKbDQ2TTdxcHN3Tk5VdGJUbHk5YTEwdDhlcG5NQTlkK3NyckoKNis0Y1MxRmlGTHMvZnpvRXBGdTFJSXlHQ2dUZEIyR3lPSWVBMUs2cWVNNFNxRjQwcGRMbncwaFZLZ3hTQmVRVQpBeFg2dXU0d0tIVXlZQ2FaRW5xZlFZbDJzSlV5aTNQMlRSczhLQlczdkFXWGVpK1lGVS9vMzZXcUhlMGRyVy9jCnZWK2RLZTVTakdhaWVOcHk4dk4wZm1Db1BLVUs2MFdsSWZwNXdrUy9LOGxFYWtkeE4xMVhEQVhBWFE5akE0MmMKaVc3R2tOS2F6RlptMGg2K3d3MXl1RDFUVlZzdjJzaFZxM25qZlA0VzNmLzZPMzNJZldET0hQOXEwM1NKSnNjKwpETmJWU1c4OWZMWDNYWkhLdDB1a0lzYllyUmVXV3RwV2xMakIvT0gwY3ZJUkhTbWJpNGpwdDladkRYZzdvbWpJCmZsdDRrS05zUG5NbmhqNm9yeTBzM0tETnFYYUVaK2JBcTR6QXFOWTc5cUJOa0ZydlhpQVFBN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2ZTNvQUhOM01ETFV4U052QzFIYUNOVmh6OHliNEgySzZCaUI4ejFoYmpHbnJQR3ZGR2tjMmE5QlVhNXdtYworMWFGOU1zS3pueDdoMElLd1RsWWlCY1I0R3k2YnRtNGFaajNOcUZCTGFvNFJCR0Z4Q2ZwSFFzK3lzZUdnMTAwCnJDVFVsVWJTVUVuS05CbkttRGNoa2dnOFFreTV0cmFON0w4K0lOZ1o5a2JCSlIwZFFYRTRNTFllUk1zM093UHUKakFlY1NzQ3plRjRIU0h4aEFEMTJoZmlxZmlRRzU0WVFyaS9GV0lDY3NvdGtUZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K'
url: "https://host.docker.internal:9443/validate-risingwave-risingwavelabs-com-v1alpha1-risingwavepodtemplate"
failurePolicy: Fail
name: vrisingwavepodtemplate.kb.io
rules:
- apiGroups:
- risingwave.risingwavelabs.com
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
- DELETE
resources:
- risingwavepodtemplates
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
Expand Down
1 change: 0 additions & 1 deletion config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: manager-role
rules:
- apiGroups:
Expand Down
Loading

0 comments on commit 46ffea6

Please sign in to comment.