mirror of https://github.com/abpframework/eventhub
13 changed files with 93 additions and 9 deletions
@ -0,0 +1,34 @@ |
|||||
|
global: |
||||
|
accountDomain: account.openeventhub.com |
||||
|
accountUrl: https://account.openeventhub.com |
||||
|
apiDomain: api.openeventhub.com |
||||
|
apiUrl: https://api.openeventhub.com |
||||
|
apiUrlInternal: http://eh-az-api |
||||
|
wwwDomain: openeventhub.com |
||||
|
wwwUrl: "https://openeventhub.com" |
||||
|
adminDomain: admin.openeventhub.com |
||||
|
adminUrl: https://admin.openeventhub.com |
||||
|
adminApiDomain: admin-api.openeventhub.com |
||||
|
adminApiUrl: https://admin-api.openeventhub.com |
||||
|
nginxProxyBufferSize: "32k" |
||||
|
nginxProxyBuffersNumber: "8" |
||||
|
defaultConnString: "Host=eh-az-postgresql;Port=5432;Database=EventHub;Username=root;Password=root" |
||||
|
redisConfiguration: "eh-az-redis" |
||||
|
internalAuthServerAuthority: "http://eh-az-account" |
||||
|
internalAuthServerRequireHttpsMetadata: "false" |
||||
|
stringEncryptionDefaultPassPhrase: "TxVIZFPxK33czbbv" |
||||
|
imagePullPolicy: Always |
||||
|
account: |
||||
|
containerImage: "volocr.azurecr.io/eventhub.account" |
||||
|
api: |
||||
|
containerImage: "volocr.azurecr.io/eventhub.api" |
||||
|
www: |
||||
|
containerImage: "volocr.azurecr.io/eventhub.www" |
||||
|
admin-api: |
||||
|
containerImage: "volocr.azurecr.io/eventhub.admin-api" |
||||
|
admin: |
||||
|
containerImage: "volocr.azurecr.io/eventhub.admin" |
||||
|
dbmigrator: |
||||
|
containerImage: "volocr.azurecr.io/eventhub.dbmigrator" |
||||
|
background-services: |
||||
|
containerImage: "volocr.azurecr.io/eventhub.background-services" |
||||
@ -0,0 +1,41 @@ |
|||||
|
$REGISTRY_NAME="volocr.azurecr.io" |
||||
|
$CONTROLLER_REGISTRY="k8s.gcr.io" |
||||
|
$CONTROLLER_IMAGE="ingress-nginx/controller" |
||||
|
$CONTROLLER_TAG="v0.48.1" |
||||
|
$PATCH_REGISTRY="docker.io" |
||||
|
$PATCH_IMAGE="jettech/kube-webhook-certgen" |
||||
|
$PATCH_TAG="v1.5.1" |
||||
|
$DEFAULTBACKEND_REGISTRY="k8s.gcr.io" |
||||
|
$DEFAULTBACKEND_IMAGE="defaultbackend-amd64" |
||||
|
$DEFAULTBACKEND_TAG="1.5" |
||||
|
|
||||
|
az acr import --name $REGISTRY_NAME --source ${CONTROLLER_REGISTRY}/${CONTROLLER_IMAGE}:${CONTROLLER_TAG} --image ${CONTROLLER_IMAGE}:${CONTROLLER_TAG} |
||||
|
az acr import --name $REGISTRY_NAME --source ${PATCH_REGISTRY}/${PATCH_IMAGE}:${PATCH_TAG} --image ${PATCH_IMAGE}:${PATCH_TAG} |
||||
|
az acr import --name $REGISTRY_NAME --source ${DEFAULTBACKEND_REGISTRY}/${DEFAULTBACKEND_IMAGE}:${DEFAULTBACKEND_TAG} --image ${DEFAULTBACKEND_IMAGE}:${DEFAULTBACKEND_TAG} |
||||
|
|
||||
|
# Create a namespace for your ingress resources |
||||
|
kubectl create namespace ingress-basic |
||||
|
|
||||
|
# Add the ingress-nginx repository |
||||
|
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx |
||||
|
|
||||
|
# Set variable for ACR location to use for pulling images |
||||
|
$ACR_URL="volocr.azurecr.io" |
||||
|
|
||||
|
# Use Helm to deploy an NGINX ingress controller |
||||
|
helm install nginx-ingress ingress-nginx/ingress-nginx ` |
||||
|
--namespace ingress-basic ` |
||||
|
--set controller.replicaCount=1 ` |
||||
|
--set controller.nodeSelector."kubernetes\.io/os"=linux ` |
||||
|
--set controller.image.registry=$ACR_URL ` |
||||
|
--set controller.image.image=$CONTROLLER_IMAGE ` |
||||
|
--set controller.image.tag=$CONTROLLER_TAG ` |
||||
|
--set controller.image.digest="" ` |
||||
|
--set controller.admissionWebhooks.patch.nodeSelector."kubernetes\.io/os"=linux ` |
||||
|
--set controller.admissionWebhooks.patch.image.registry=$ACR_URL ` |
||||
|
--set controller.admissionWebhooks.patch.image.image=$PATCH_IMAGE ` |
||||
|
--set controller.admissionWebhooks.patch.image.tag=$PATCH_TAG ` |
||||
|
--set defaultBackend.nodeSelector."kubernetes\.io/os"=linux ` |
||||
|
--set defaultBackend.image.registry=$ACR_URL ` |
||||
|
--set defaultBackend.image.image=$DEFAULTBACKEND_IMAGE ` |
||||
|
--set defaultBackend.image.tag=$DEFAULTBACKEND_TAG |
||||
Loading…
Reference in new issue