From d9c38e7670e6b3249fbd981bc60ab71d13c8b2a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 9 Aug 2021 18:46:15 +0300 Subject: [PATCH] override corefile dns --- etc/k8s/helm-chart/eventhub/values.azure.yaml | 2 +- etc/k8s/scripts/push-images-to-azure.ps1 | 2 ++ etc/k8s/temp/corednsms.yaml | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 etc/k8s/temp/corednsms.yaml diff --git a/etc/k8s/helm-chart/eventhub/values.azure.yaml b/etc/k8s/helm-chart/eventhub/values.azure.yaml index 5f9f34c..510fe7e 100644 --- a/etc/k8s/helm-chart/eventhub/values.azure.yaml +++ b/etc/k8s/helm-chart/eventhub/values.azure.yaml @@ -14,7 +14,7 @@ global: nginxProxyBuffersNumber: "8" defaultConnString: "Host=eh-az-postgresql;Port=5432;Database=EventHub;Username=root;Password=root" redisConfiguration: "eh-az-redis" - internalAuthServerAuthority: "http://eh-az-account" + internalAuthServerAuthority: "http://account.openeventhub.com" internalAuthServerRequireHttpsMetadata: "false" stringEncryptionDefaultPassPhrase: "TxVIZFPxK33czbbv" imagePullPolicy: Always diff --git a/etc/k8s/scripts/push-images-to-azure.ps1 b/etc/k8s/scripts/push-images-to-azure.ps1 index 225275f..a3e504d 100644 --- a/etc/k8s/scripts/push-images-to-azure.ps1 +++ b/etc/k8s/scripts/push-images-to-azure.ps1 @@ -1,3 +1,5 @@ +az acr login --name volocr + docker tag eventhub.dbmigrator:latest volocr.azurecr.io/eventhub.dbmigrator:latest docker push volocr.azurecr.io/eventhub.dbmigrator:latest diff --git a/etc/k8s/temp/corednsms.yaml b/etc/k8s/temp/corednsms.yaml new file mode 100644 index 0000000..940e126 --- /dev/null +++ b/etc/k8s/temp/corednsms.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: coredns-custom + namespace: kube-system +data: + Corefile.override: | + rewrite name substring account.openeventhub.com eh-az-account \ No newline at end of file