-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 233: Fixed chart bug and made ready and unready fields as nulla…
…ble and added checks for various crd fields (#234) * fixed chart bug and removed ready and unready fields from crd Signed-off-by: prabhaker24 <[email protected]> * added kubernetesdomainname Signed-off-by: prabhaker24 <[email protected]> * removed unnecessary comments and added check for replicas Signed-off-by: prabhaker24 <[email protected]> * changed description Signed-off-by: prabhaker24 <[email protected]> * more field validation added Signed-off-by: prabhaker24 <[email protected]> * added kubernetesClusterDomain in readme Signed-off-by: prabhaker24 <[email protected]> * added check for storagetype and access mode Signed-off-by: prabhaker24 <[email protected]> Co-authored-by: prabhaker24 <[email protected]>
- Loading branch information
1 parent
1bd5bbf
commit b5502fb
Showing
10 changed files
with
187 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,7 @@ test-e2e-remote: test-login | |
docker push $(TEST_IMAGE) | ||
operator-sdk test local ./test/e2e --operator-namespace default \ | ||
--namespaced-manifest ./test/e2e/resources/rbac-operator.yaml \ | ||
--global-manifest deploy/crds/zookeeper.pravega.io_zookeeperclusters.yaml \ | ||
--global-manifest deploy/crds/zookeeper.pravega.io_zookeeperclusters_crd.yaml \ | ||
--image $(TEST_IMAGE) --go-test-flags "-v -timeout 0" | ||
|
||
test-e2e-local: | ||
|
@@ -114,22 +114,3 @@ check-license: | |
|
||
update-kube-version: | ||
./scripts/update_kube_version.sh ${KUBE_VERSION} | ||
|
||
manifests: controller-gen | ||
$(CONTROLLER_GEN) crd paths="./..." output:crd:artifacts:config=deploy/crds | ||
$(CONTROLLER_GEN) crd paths="./..." output:crd:artifacts:config=charts/zookeeper-operator/crds | ||
|
||
controller-gen: | ||
ifeq (, $(shell which controller-gen)) | ||
@{ \ | ||
set -e ;\ | ||
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\ | ||
cd $$CONTROLLER_GEN_TMP_DIR ;\ | ||
go mod init tmp ;\ | ||
go get sigs.k8s.io/controller-tools/cmd/[email protected] ;\ | ||
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\ | ||
} | ||
CONTROLLER_GEN=$(GOPATH)/bin/controller-gen | ||
else | ||
CONTROLLER_GEN=$(shell which controller-gen) | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ image: | |
domainName: | ||
labels: {} | ||
ports: [] | ||
kubernetesClusterDomain: "cluster.local" | ||
|
||
pod: {} | ||
# labels: {} | ||
|
Oops, something went wrong.