Skip to content

Commit

Permalink
Merge pull request #185 from bitholla/develop
Browse files Browse the repository at this point in the history
HollaEx CLI v2.0.9
  • Loading branch information
kycfeel authored Mar 24, 2021
2 parents 4f7f35f + 143d000 commit 996e2e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 69 deletions.
68 changes: 0 additions & 68 deletions tools_generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -971,74 +971,6 @@ spec:
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ${ENVIRONMENT_EXCHANGE_NAME}-ingress-api-order
namespace: ${ENVIRONMENT_EXCHANGE_NAME}
annotations:
kubernetes.io/ingress.class: "nginx"
$(if [[ "$ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER" ]] && [[ "$ENVIRONMENT_KUBERNETES_INGRESS_SSL_ENABLE_SERVER" == true ]];then echo 'kubernetes.io/tls-acme: "true"'; fi)
$(if [[ "$ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER" ]] && [[ "$ENVIRONMENT_KUBERNETES_INGRESS_SSL_ENABLE_SERVER" == true ]];then echo "cert-manager.io/cluster-issuer: ${ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER}"; fi)
nginx.ingress.kubernetes.io/proxy-body-size: "2m"
nginx.ingress.kubernetes.io/configuration-snippet: |
limit_req zone=api burst=10 nodelay;
limit_req_log_level notice;
limit_req_status 429;
spec:
rules:
- host: $(echo ${HOLLAEX_CONFIGMAP_API_HOST} | cut -f3 -d "/")
http:
paths:
- path: /v2/order
backend:
serviceName: ${ENVIRONMENT_EXCHANGE_NAME}-server-api
servicePort: 10010
$(if [[ "$ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER" ]] && [[ "$ENVIRONMENT_KUBERNETES_INGRESS_SSL_ENABLE_SERVER" == true ]];then ingress_tls_snippets $HOLLAEX_CONFIGMAP_API_HOST; fi)
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ${ENVIRONMENT_EXCHANGE_NAME}-ingress-api-admin
namespace: ${ENVIRONMENT_EXCHANGE_NAME}
annotations:
kubernetes.io/ingress.class: "nginx"
$(if [[ "$ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER" ]] && [[ "$ENVIRONMENT_KUBERNETES_INGRESS_SSL_ENABLE_SERVER" == true ]];then echo 'kubernetes.io/tls-acme: "true"'; fi)
$(if [[ "$ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER" ]] && [[ "$ENVIRONMENT_KUBERNETES_INGRESS_SSL_ENABLE_SERVER" == true ]];then echo "cert-manager.io/cluster-issuer: ${ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER}"; fi)
nginx.ingress.kubernetes.io/proxy-body-size: "2m"
spec:
rules:
- host: $(echo ${HOLLAEX_CONFIGMAP_API_HOST} | cut -f3 -d "/")
http:
paths:
- path: /v2/admin
backend:
serviceName: ${ENVIRONMENT_EXCHANGE_NAME}-server-api
servicePort: 10010
$(if [[ "$ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER" ]] && [[ "$ENVIRONMENT_KUBERNETES_INGRESS_SSL_ENABLE_SERVER" == true ]];then ingress_tls_snippets $HOLLAEX_CONFIGMAP_API_HOST; fi)
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ${ENVIRONMENT_EXCHANGE_NAME}-ingress-api-explorer
namespace: ${ENVIRONMENT_EXCHANGE_NAME}
annotations:
kubernetes.io/ingress.class: "nginx"
$(if [[ "$ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER" ]] && [[ "$ENVIRONMENT_KUBERNETES_INGRESS_SSL_ENABLE_SERVER" == true ]];then echo 'kubernetes.io/tls-acme: "true"'; fi)
$(if [[ "$ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER" ]] && [[ "$ENVIRONMENT_KUBERNETES_INGRESS_SSL_ENABLE_SERVER" == true ]];then echo "cert-manager.io/cluster-issuer: ${ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER}"; fi)
nginx.ingress.kubernetes.io/proxy-body-size: "2m"
spec:
rules:
- host: $(echo ${HOLLAEX_CONFIGMAP_API_HOST} | cut -f3 -d "/")
http:
paths:
- path: /explorer
backend:
serviceName: ${ENVIRONMENT_EXCHANGE_NAME}-server-api
servicePort: 10010
$(if [[ "$ENVIRONMENT_KUBERNETES_INGRESS_CERT_MANAGER_ISSUER" ]] && [[ "$ENVIRONMENT_KUBERNETES_INGRESS_SSL_ENABLE_SERVER" == true ]];then ingress_tls_snippets $HOLLAEX_CONFIGMAP_API_HOST; fi)
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ${ENVIRONMENT_EXCHANGE_NAME}-ingress-plugins
namespace: ${ENVIRONMENT_EXCHANGE_NAME}
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.8
2.0.9

0 comments on commit 996e2e8

Please sign in to comment.