Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix the bug on shell script #245

Merged
merged 1 commit into from
Jun 7, 2022
Merged

Conversation

pinxiong
Copy link
Contributor

@pinxiong pinxiong commented Jun 6, 2022

What this PR does / Why we need it:

See #244

After fixed, the output is as below

$ aeraki git:(master) ✗ make install
bash demo/install-aeraki.sh
+ '[' -z latest ']'
+ '[' -z '' ']'
+ export AERAKI_ISTIOD_ADDR=istiod.istio-system:15010
+ AERAKI_ISTIOD_ADDR=istiod.istio-system:15010
+ '[' -z '' ']'
+ export AERAKI_NAMESPACE=istio-system
+ AERAKI_NAMESPACE=istio-system
+ '[' -z '' ']'
+ export AERAKI_IS_MASTER=true
+ AERAKI_IS_MASTER=true
+ '[' -z '' ']'
+ export AERAKI_ENABLE_ENVOY_FILTER_NS_SCOPE=false
+ AERAKI_ENABLE_ENVOY_FILTER_NS_SCOPE=false
+ mkdir -p /****/****/.aeraki
+ envsubst
+ '[' '' == mode=tcm ']'
+ kubectl delete crd applicationprotocols.metaprotocol.aeraki.io
customresourcedefinition.apiextensions.k8s.io "applicationprotocols.metaprotocol.aeraki.io" deleted
+ kubectl apply -f demo/../test/e2e/scripts/../../../k8s/crd.yaml
customresourcedefinition.apiextensions.k8s.io/dubboauthorizationpolicies.dubbo.aeraki.io unchanged
customresourcedefinition.apiextensions.k8s.io/applicationprotocols.metaprotocol.aeraki.io created
customresourcedefinition.apiextensions.k8s.io/metarouters.metaprotocol.aeraki.io unchanged
customresourcedefinition.apiextensions.k8s.io/redisdestinations.redis.aeraki.io unchanged
customresourcedefinition.apiextensions.k8s.io/redisservices.redis.aeraki.io unchanged
+ kubectl apply -f /****/****/.aeraki/aeraki.yaml -n istio-system
deployment.apps/aeraki created
service/aeraki created
serviceaccount/aeraki created
role.rbac.authorization.k8s.io/aeraki created
rolebinding.rbac.authorization.k8s.io/aeraki created
clusterrole.rbac.authorization.k8s.io/aeraki unchanged
clusterrolebinding.rbac.authorization.k8s.io/aeraki unchanged
applicationprotocol.metaprotocol.aeraki.io/dubbo created
applicationprotocol.metaprotocol.aeraki.io/thrift created

Pre-Submission Checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added related test cases?
  • Have you modified the related document?
  • Is this PR backward compatible?

@mergify mergify bot requested a review from zhaohuabing June 6, 2022 16:07
Copy link
Member

@zhaohuabing zhaohuabing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mergify mergify bot merged commit 16938d9 into aeraki-mesh:master Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants