From: khemendra kumar Date: Thu, 16 Jul 2020 09:51:58 +0000 (+0530) Subject: https support: X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=76872e65a918fe31c6b28efd288cef10a1bd806f;p=ealt-edge.git https support: kong enable https mepagent image temp push remove Signed-off-by: khemendra kumar Change-Id: I14ce6f802e9385575eb600562e0b527f30cdeb86 --- diff --git a/mep/mepagent/SampleApp/docker-build.sh b/mep/mepagent/SampleApp/docker-build.sh index 55376ae..309890f 100755 --- a/mep/mepagent/SampleApp/docker-build.sh +++ b/mep/mepagent/SampleApp/docker-build.sh @@ -14,5 +14,4 @@ # limitations under the License. MEP_VERSION=latest -docker build --no-cache -t khemendra/mepagent:${MEP_VERSION} -f docker/Dockerfile . -docker push khemendra/mepagent:${MEP_VERSION} +docker build --no-cache -t ealtedge/mepagent:${MEP_VERSION} -f docker/Dockerfile . diff --git a/mep/mepagent/SampleApp/go.mod b/mep/mepagent/SampleApp/go.mod index 62785eb..a1c2d50 100644 --- a/mep/mepagent/SampleApp/go.mod +++ b/mep/mepagent/SampleApp/go.mod @@ -4,10 +4,7 @@ go 1.14 require ( github.com/agiledragon/gomonkey v2.0.1+incompatible - github.com/khemendra0/mep_agent_lib v0.0.0-20200514200710-1e480711e278 // indirect - github.com/khemendra0/mep_agent_lib_2 v0.0.0-20200515044354-e1f42901419d // indirect - github.com/khemendra0/mep_agent_lib_3 v0.0.0-20200515181745-facda354cc2a // indirect - github.com/khemendra0/mep_agent_lib_5 v0.0.0-20200515190552-685e7af625aa // indirect + github.com/akraino-edge-stack/ealt-edge v0.0.0-20200624134839-54b1432860d4 // indirect github.com/smartystreets/goconvey v1.6.4 gopkg.in/yaml.v2 v2.2.8 ) diff --git a/mep/mepagent/SampleApp/go.sum b/mep/mepagent/SampleApp/go.sum index 2fa3f6f..56020de 100644 --- a/mep/mepagent/SampleApp/go.sum +++ b/mep/mepagent/SampleApp/go.sum @@ -1,5 +1,7 @@ github.com/agiledragon/gomonkey v2.0.1+incompatible h1:DIQT3ZshgGz9pTwBddRSZWDutIRPx2d7UzmjzgWo9q0= github.com/agiledragon/gomonkey v2.0.1+incompatible/go.mod h1:2NGfXu1a80LLr2cmWXGBDaHEjb1idR6+FVlX5T3D9hw= +github.com/akraino-edge-stack/ealt-edge v0.0.0-20200624134839-54b1432860d4 h1:tZj/guuIF0G7Rlt2F1k3uKh8yG41v3ufdJNzK8xtDaU= +github.com/akraino-edge-stack/ealt-edge v0.0.0-20200624134839-54b1432860d4/go.mod h1:zCoMyvp9bMihsTPz9O1ZHGmS9olzxkFPD+8Ib+EvdSU= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= diff --git a/mep/mepagent/SampleApp/mepagent.yaml b/mep/mepagent/SampleApp/mepagent.yaml index d450817..2afbf46 100755 --- a/mep/mepagent/SampleApp/mepagent.yaml +++ b/mep/mepagent/SampleApp/mepagent.yaml @@ -24,7 +24,7 @@ metadata: app: mepagent spec: containers: - - image: khemendra/mepagent:latest + - image: ealtedge/mepagent:latest imagePullPolicy: Always name: mepagent-pod env: @@ -43,4 +43,4 @@ spec: volumes: - name: mepagentssl secret: - secretName: default-vault-certificate + secretName: mepagent-ssl diff --git a/mep/mepserver/kong-k8s.yaml b/mep/mepserver/kong-k8s.yaml index 520a83f..fffc87e 100644 --- a/mep/mepserver/kong-k8s.yaml +++ b/mep/mepserver/kong-k8s.yaml @@ -71,6 +71,10 @@ spec: value: /dev/stdout - name: KONG_PROXY_ERROR_LOG value: /dev/stderr + #- name: KONG_SSL_CERT + #value: /run/kongssl/tls.crt + #- name: KONG_SSL_CERT_KEY + #value: /run/kongssl/tls.key ports: - containerPort: 8000 name: proxy