-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
version: 0.0.1-SNAPSHOT\r
image: a1-mediator-vth:0.0.1-SNAPSHOT\r
namespace: org-oran-otf\r
-nodePort: 32324\r
+nodePort: 32325\r
replicas: 1\r
health : /otf/vth/oran/a1/v1/health\r
sharedCert: otf-cert-secret-builder\r
-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
-**NOTE:
+**NOTE:
** Database must be initialized before the cores and VTHs are installed, docker images have to be build, and individual charts have to be updated to pull the correct image.
** If using one-click, you need to build or update the helm dependencies after updating the individual charts that should now point to correct docker images. Oneclick uses
** anchors and pointers in its yaml, so values need to be updated in the file, do not pass values in the command line as it will ignore those values.
Prerequisites:
- Kubernetes
- Helm 3.0
-- Docker Images
+- Docker
+
+What we are using:
+Kubernetes:
+- Client Version: v1.17.1
+- Server Version: v1.18.14
+Helm: 3.3.0
+Docker: 19.03.8 For both server and client
Useful k8 commands:
view ports: kubectl get svc -n [namespace]
view secrets: kubectl get secrets -n [namespace]
view pvc: kubectl get pvc -n [namespace]
-usefule helm commands:
- dependency build: helm depenency build
- dependency update: helm depenency udpate
+useful helm commands:
+ dependency build: helm dependency build
+ dependency update: helm dependency update (do this when you make any changes the specific helm charts, it will update the charts that one-click stores)
install charts: helm install [chart_name] [path_to_chart] -n [namespace]
uninstall charts: helm uninstall [chart_name] -n [namespace]
view charts: helm ls -n [namespace]
1. This step is to install otf databases: mysql and mongodb
NOTE: each install of dbs requires dbs to not have pvcs set, if they exist delete them on every install. If primary starts failing, uninstall and remove pvc and reinstall
- a) helm install one-click-dbs -n [namespace] . (dir: otf-oran/one-click/one-click-dbs)
-
+ a) helm dependency update
+ b) "helm install one-click-dbs -n [namespace] ." (dir: otf-oran/one-click/one-click-dbs)
+
2. This step is to install otf-core componenets: otf-service-api,otf-camunda, and otf-frontend
+ NOTE: make sure all the db pods from previous step are running before starting step 2
+
+ a) You will need to update the internal URLS on one-click-core/values.yaml. The default values are set to the local cluster IP.
+ You will need to modify it with your namespace in each of the internal urls.
- a) modify one-click-core values.yaml (otf-oran/one-click/one-click-core/values.yaml) with correct secret name and ip from the previous step. Fill in otf-service-api and otf-camunda ip adresses.
- NOTE: format is-> mongo-ip=X.X.X.X:27017 mysql-ip=X.X.X.X:3306/otf_camunda ips are the cluster ports
- NOTE: format is-> otf-url: http://X.X.X.X:80
- camunda-url: http://X.X.X.X:8443/
- service-api-url: http://X.X.X.X:8443/otf/api/
- camunda-url-no-port: http://X.X.X.X
-
- b) fill in the rest of the values.yaml accordingly (ie, camunda-url,&svc-url,etc)
+ For example if your namespace is "oran", your mongo cluster ip would be one-click-dbs-mongodb.oran.svc.cluster.local:27017 <- you will need to replace the oran part with your own namespace
+ You will need to modify this for mongo-ip,mysql-ip,fe-ip,svc-ip, and camunda-ip
- c) helm install otf-core -n [namespace] . (dir: otf-oran/one-click/one-click-core)
+ Note: you can also do kubectl get service -n [your_namespace] and put the cluster ip directly
+ NOTE: format is->
+ mongo-ip: one-click-dbs-mongodb.[namespace].svc.cluster.local:27017
+ mysql-ip: one-click-dbs-mysql.[namespace].svc.cluster.local:3306/otf_camunda
+ otf-url: &otfUrl http://otf-frontend.[namspace].svc.cluster.local:80/
+ camunda-url: &camundaUrl http://otf-camunda.[namspace].svc.cluster.local:8443/
+ service-api-url: &svcUrl http://otf-service-api.[namspace].svc.cluster.local:8443/otf/api/
+ camunda-url-no-port: &camundaUrlNoPort http://otf-camunda.[namspace].svc.cluster.local
+
+ b) Update one-click-core/values.yaml with your docker image repo location (you will have to build each of these docker images and push them to a repo such as dockerhub)
+
+ c) helm dependency update
+
+ d) helm install otf-core -n [namespace] . (dir: otf-oran/one-click/one-click-core)
-3. This step is to run otf-vths if desired (dir: otf-oran/one-click/one-click-vths). This step will deploy ALL of OTF's VTHS so if you are only deploying specfic ones, you should skip this step.
+3. This step is optional. It will run otf-vths (dir: otf-oran/one-click/one-click-vths) but you can make your own vths and make them accessible(i.e. via HTTP request).
+ We recommend making and deploying your own VTHS(micro-services) to fit your own workflows and solutions.
+ This step will deploy ALL of OTF's VTHS so if you are only deploying specific ones, you should skip this step.
+
+ a) update the image location for all the vths (otf-oran/one-click/one-click-vths/values.yaml).
+ Robot vth needs a mongo connections so you will have to update the values.yaml with the appropriate
+ mongo IP and mongo secret name from step one. Format is one-click-dbs-mongodb.[namespace].svc.cluster.local:27017/ or X.X.X.X:27017/
- a) robot vths needs a mongo connections so you will have to update the values.yaml (otf-oran/one-click/one-click-vths/values.yaml) with the approiate IP and mongo secret name from step one. format is mongo-ip=X.X.X.X:27017/
+ b) helm dependency update. (you have to run this step if you made any changes to their individual helm charts"
- b) helm install otf-vths -n [namespace] . (dir: otf-oran/one-click/one-click-vths)
+ c) helm install otf-vths -n [namespace] . (dir: otf-oran/one-click/one-click-vths)
SELF-CHECK **MORE UPDATES COMING**
1) Later verisons of chrome might have an issue where users might get stuck on the login page when trying to login.
WORKAROUND:
- use firefox
- - if you have to use chrome, go to your chrome brower and paste chrome://flags/#cookies-without-same-site-must-be-secure on the URL section and disable cookies must be secure flag.
+ - if you have to use chrome, go to your chrome browser and paste chrome://flags/#cookies-without-same-site-must-be-secure on the URL section and disable cookies must be secure flag.
***NOTES***
- - defaut username and password-> otfuser@email.com:password (use this account to managed other users via user managment tab. You can change password via the mongo database)
+ - to access frontend via browser, use the external ip of frontend.
+ - default username and password-> otfuser@email.com:password (use this account to managed other users via user managment tab. You can change password via the mongo database)
- You have to be in a group before you can execute any workflows or add anything VTHs.(Test def, instance, execution are saved to the group that executed it)
- In values.
\ No newline at end of file
-mongo-ip: &mongoIp 127.0.0.1:27017
+### internal db ip
+mongo-ip: &mongoIp one-click-dbs-mongodb.<NAMESPACE>.svc.cluster.local:27017
+mysql-ip: &mysqlIp one-click-dbs-mysql.<NAMESPACE>.svc.cluster.local:3306/otf_camunda
+#mongo-ip: &mongoIp 10.0.190.153:27017
+#mysql-ip: &mysqlIp 10.0.178.26:3306/otf_camunda
mongo-secret-name: &mongoSecret one-click-dbs-mongodb
-mysql-ip: &mysqlIp 127.0.0.1:3306/otf_camunda
mysql-secret-name: &mysqlSecret mysql
-otf-url: &otfUrl http://127.0.0.1:80
-camunda-url: &camundaUrl http://127.0.0.1:8443/
-service-api-url: &svcUrl http://127.0.0.1:8443/otf/api/
-camunda-url-no-port: &camundaUrlNoPort http://127.0.0.1
+frontend-image: &frontendImage FE-image #Your frontend docker image location
+service-api-image: &serviceApiImage SVC-API image #Your service-api docker image location
+camunda-image: &camundaImage CAMUNDA-image #Your camunda docker image location
+
+###internal urls
+otf-url: &otfUrl http://otf-frontend.<NAMESPACE>.svc.cluster.local:80/ #fe ip address
+camunda-url: &camundaUrl http://otf-camunda.<NAMESPACE>.svc.cluster.local:8443/ #camunda ip address
+service-api-url: &svcUrl http://otf-service-api.<NAMESPACE>.svc.cluster.local:8443/otf/api/ #service api ip address
+camunda-url-no-port: &camundaUrlNoPort http://otf-camunda.<NAMESPACE>.svc.cluster.local #camunda ip address w/o port
camunda-port: &camundaPort 8443
+#otf-url: &otfUrl http://10.0.5.126:80/ #fe ip address
+#camunda-url: &camundaUrl http://10.0.75.51:8443/ #camunda ip address
+#service-api-url: &svcUrl http://10.0.96.153:8443/otf/api/ #service api ip adress
+#camunda-url-no-port: &camundaUrlNoPort http://10.0.75.51 #camunda ip address w/o port
+
+mechId: &mechId username
+mechIdPassword: &mechIdPassword password
otf-oran-service-api:
+ image: *serviceApiImage
one_click:
mongo:
ip: *mongoIp
host: *camundaUrlNoPort
port: *camundaPort
otf-camunda:
+ image: *camundaImage
one_click:
mongo:
ip: *mongoIp
ip: *mysqlIp
secret_name: *mysqlSecret
otf-frontend:
+ image: *frontendImage
one_click:
mongo:
ip: *mongoIp
secret_name: *mongoSecret
+ mechId: *mechId
+ mechIdPassword: *mechIdPassword
otf:
OTF_URL:
dev: *otfUrl
repository: "file://../../otf-ssh-test-head/helm/otf-ssh-test-head/"
- name: smo-o1-vth
version: 0.0.1
- repository: "file://../../smo-o1-vth/helm/smo-o1-vth/"
+ repository: "file://../../smo-o1-vth/helm/o1-vth/"
- name: otf-robot-test-head
version: 0.0.5-SNAPSHOT
repository: "file://../../otf-robot-test-head/helm/otf-robot-test-head/"
-mongo-ip: &mongoIp 10.0.248.46:27017/
+mongo-ip: &mongoIp one-click-dbs-mongodb.<NAMESPACE>.svc.cluster.local:27017/
mongo-secret-name: &mongoSecret one-click-dbs-mongodb
+ping-image: &pingImage <ping-vth image> #your ping image repo
+ssh-image: &sshImage <ssh-vth image> #your ssh image repo
+a1-mediator-image: &a1Mediator <a1-med-vth image> # a1 med image repo
+a1-policy-image: &a1Policy <a1-policy-vth image>
+a1-sdnc-image: &a1Sdnc <a1-sdnc-vth image>
+dmaap-image: &dmaap <dmaap-vth image>
+ric-image: &ric <ric-vth image>
+o1-image: &o1 <o1-vth image>
+robot-image: &robot <robot-vth image>
+
+namespace: &nameSpace oran # your namespace
+
+
+otf-ssh-test-head:
+ image: *sshImage
+ namespace: *nameSpace
+
+otf-ping-test-head:
+ image: *pingImage
+ namespace: *nameSpace
+
+a1-mediator-vth:
+ image: *a1Mediator
+ namespace: *nameSpace
+
+a1-policy-manager-vth:
+ image: *a1Policy
+ namespace: *nameSpace
+
+a1-sdnc-vth:
+ image: *a1Sdnc
+ namespace: *nameSpace
+
+dmaap-vth:
+ image: *dmaap
+ namespace: *nameSpace
+
+oran-ric-test-head:
+ image: *ric
+ namespace: *nameSpace
+
+smo-o1-vth:
+ image: *o1
+ namespace: *nameSpace
+
otf-robot-test-head:
+ image: *robot
+ namespace: *nameSpace
one_click:
mongo:
ip: *mongoIp
-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
env: dev\r
version: 0.0.1-SNAPSHOT\r
image: ric-test-head:0.0.1-SNAPSHOT\r
-namespace: org-oran-otf\r
+#namespace: org-oran-otf\r
nodePort: 32323\r
replicas: 1\r
health : /otf/vth/oran/v1/health\r
-apiVersion: apps/v1beta1\r
+apiVersion: apps/v1\r
kind: StatefulSet\r
metadata:\r
name: {{ .Values.appName}}-{{ .Values.env }}\r
appName: otf-camunda\r
version: 0.0.1-SNAPSHOT\r
image: otf-camunda:0.0.1-SNAPSHOT\r
-namespace: org.oran.otf\r
+#namespace: org.oran.otf\r
nodePort: 31313\r
-replicas: 2\r
+replicas: 1\r
terminationGracePeriodSeconds: 360\r
env: dev\r
\r
-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
value: {{.Values.serviceApi.dev.SERVICEAPI_URIEXECUTETESTINSTANCE | quote}}\r
{{ end }}\r
- name: SERVICEAPI_AAFID\r
- valueFrom:\r
- secretKeyRef:\r
- name: {{ .Values.sharedSecret}}\r
- key: aaf_id\r
- optional: true\r
+ value: {{.Values.one_click.mechId}}\r
+# valueFrom:\r
+# secretKeyRef:\r
+# name: {{ .Values.sharedSecret}}\r
+# key: aaf_id\r
+# optional: true\r
- name: SERVICEAPI_AAFPASSWORD\r
- valueFrom:\r
- secretKeyRef:\r
- name: {{ .Values.sharedSecret}}\r
- key: aaf_mech_password\r
- optional: true\r
+ value: {{.Values.one_click.mechIdPassword}}\r
+# valueFrom:\r
+# secretKeyRef:\r
+# name: {{ .Values.sharedSecret}}\r
+# key: aaf_mech_password\r
+# optional: true\r
- name: CAMUNDAAPI_URL\r
{{ if eq .Values.env "prod" }}\r
value: {{ .Values.camundaApi.prod.CAMUNDAAPI_URL | quote}}\r
value: {{ .Values.camundaApi.dev.CAMUNDAAPI_URL | quote}}\r
{{ end }}\r
- name: CAMUNDAAPI_AAFID\r
- valueFrom:\r
- secretKeyRef:\r
- name: {{ .Values.sharedSecret}}\r
- key: aaf_id\r
- optional: true\r
+ value: {{.Values.one_click.mechId}}\r
+# valueFrom:\r
+# secretKeyRef:\r
+# name: {{ .Values.sharedSecret}}\r
+# key: aaf_id\r
+# optional: true\r
- name: CAMUNDAAPI_AAFPASSWORD\r
- valueFrom:\r
- secretKeyRef:\r
- name: {{ .Values.sharedSecret}}\r
- key: aaf_mech_password\r
- optional: true\r
+ value: {{.Values.one_click.mechIdPassword}}\r
+# valueFrom:\r
+# secretKeyRef:\r
+# name: {{ .Values.sharedSecret}}\r
+# key: aaf_mech_password\r
+# optional: true\r
- name: MONGO_BASEURL\r
value: {{ .Values.one_click.mongo.ip | quote }}\r
# {{ if or (eq .Values.env "prod") (eq .Values.env "prod-dr")}}\r
apiVersion: v1\r
-kind: Service\r
+kind: Secret\r
metadata:\r
- name: {{ .Values.appName }}\r
- namespace: {{ .Values.namespace }}\r
- labels:\r
- app: {{ .Values.appName }}\r
- version: {{ .Values.version }}\r
- # annotations:\r
- # service.beta.kubernetes.io/azure-load-balancer-internal: "true"\r
-spec:\r
- type: LoadBalancer\r
- ports:\r
- - name: https\r
- protocol: TCP\r
- port: 80\r
- # nodePort: {{ .Values.nodePort }}\r
- selector:\r
- app: {{ .Values.appName }}\r
- version: {{ .Values.version }}\r
+ name: {{ .Values.appName}}\r
+type: Opaque\r
+data:\r
+ mongo_username: {{ .Values.mongo.username | b64enc}}\r
+ mongo_password: {{ .Values.mongo.password | b64enc}}\r
+# authentication_secret: {{.Values.AUTHENTICATION_SECRET | b64enc}}\r
+\r
+#apiVersion: v1\r
+#kind: Service\r
+#metadata:\r
+# name: {{ .Values.appName }}\r
+# namespace: {{ .Values.namespace }}\r
+# labels:\r
+# app: {{ .Values.appName }}\r
+# version: {{ .Values.version }}\r
+#spec:\r
+# type: NodePort\r
+# ports:\r
+# - name: https\r
+# protocol: TCP\r
+# port: 80\r
+# nodePort: {{ .Values.nodePort }}\r
+# selector:\r
+# app: {{ .Values.appName }}\r
+# version: {{ .Values.version }}\r
apiVersion: v1\r
kind: Service\r
metadata:\r
labels:\r
app: {{ .Values.appName }}\r
version: {{ .Values.version }}\r
+ # annotations:\r
+ # service.beta.kubernetes.io/azure-load-balancer-internal: "true"\r
spec:\r
- type: NodePort\r
+ type: LoadBalancer\r
ports:\r
- - name: https\r
- protocol: TCP\r
- port: 443\r
- nodePort: {{ .Values.nodePort }}\r
+ - name: https\r
+ protocol: TCP\r
+ port: 80\r
+ # nodePort: {{ .Values.nodePort }}\r
selector:\r
app: {{ .Values.appName }}\r
- version: {{ .Values.version }}\r
+ version: {{ .Values.version }}
\ No newline at end of file
version: 0.0.4-SNAPSHOT\r
#pullSecret: ""\r
image: otf-frontend\r
-namespace: \r
+#namespace:\r
nodePort: 32524\r
replicas:\r
- dev: 2\r
+ dev: 1\r
st: 1\r
- prod: 2\r
+ prod: 1\r
env: dev\r
AUTHENTICATION_SECRET: ""\r
serviceApi:\r
ip: 10.0.51.84:27017\r
username: "!"\r
password: "!"\r
+ mechId: "!"\r
+ mechIdPassword: "!"\r
sleep(12000);
-use admin;
-db.createUser({user: "your-mongo-username", pwd: "your-mongo-password", roles: [ { role: "readWrite", db: "test" } ]})
-use otf;
-db.users.insert({"permissions":["user"], "enabled":true, "password":"$2a$14$QWEuhquhhT.1dtVsmXq0QOxOMSmInjvQtr43Jbyz07nEeTbABdwqa", "firstName":"username", "lastname":"username", "email":"username", "isVerified":true})
-db.users.insert({"permissions":["admin"], "enabled":true, "password":"$2a$14$QWEuhquhhT.1dtVsmXq0QOxOMSmInjvQtr43Jbyz07nEeTbABdwqa", "firstName":"otf", "lastname":"user", "email":"otfuser@email.com", "isVerified":true})
+admin = db.getSiblingDB('admin');
+admin.createUser({user: "your-mongo-username", pwd: "your-mongo-password", roles: [ { role: "readWriteAnyDatabase", db: "admin" } ]});
+otf= db.getSiblingDB('otf');
+//add default group
+otf.groups.insert({ "_id" : ObjectId("604901d4498e3a006261b1e6"), "mechanizedIds" : [], "groupName" : "otf", "parentGroupId" : null, "ownerId" : ObjectId("6048fed6bdc2a67d6e9c7fc2"), "groupDescription" : "otf", "roles" : [ { "permissions" : [ "management", "write", "delete", "read", "execute" ], "roleName" : "admin" }, { "permissions" : [ "read" ], "roleName" : "user" }, { "permissions" : [ "write", "delete", "read", "execute" ], "roleName" : "developer" } ], "members" : [ { "roles" : [ "admin", "user", "developer" ], "userId" : ObjectId("6048fed6bdc2a67d6e9c7fc1") }, { "roles" : [ "admin", "user", "developer" ], "userId" : ObjectId("6048fed6bdc2a67d6e9c7fc2") } ] });
+otf.users.insert({"_id": ObjectId("6048fed6bdc2a67d6e9c7fc1"),"permissions":["user"], "enabled":true, "password":"$2a$14$QWEuhquhhT.1dtVsmXq0QOxOMSmInjvQtr43Jbyz07nEeTbABdwqa", "firstName":"username", "lastName":"username", "email":"username", "isVerified":true});
+otf.users.insert({"_id": ObjectId("6048fed6bdc2a67d6e9c7fc2"),"permissions":["admin"], "enabled":true, "password":"$2a$14$QWEuhquhhT.1dtVsmXq0QOxOMSmInjvQtr43Jbyz07nEeTbABdwqa", "firstName":"otf", "lastName":"user", "email":"otfuser@email.com", "defaultGroup" : ObjectId("604901d4498e3a006261b1e6"), "isVerified":true});
## MongoDB admin password
## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#setting-the-root-password-on-first-run
##
-mongodbRootPassword: otf.123
+mongodbRootPassword: root-password
## MongoDB custom user and database
## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#creating-a-user-and-database-on-first-run
-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
{{ end }}\r
serviceAccount: default\r
volumes:\r
- - name: {{ .Values.appName}}-cert-volume\r
- secret:\r
- secretName: {{.Values.sharedCert}}\r
- optional: true\r
- items:\r
- - key: PEM_CERT\r
- path: otf.pem\r
- - key: PEM_KEY\r
- path: privateKey.pem\r
+# - name: {{ .Values.appName}}-cert-volume\r
+# secret:\r
+# secretName: {{.Values.sharedCert}}\r
+# optional: true\r
+# items:\r
+# - key: PEM_CERT\r
+# path: otf.pem\r
+# - key: PEM_KEY\r
+# path: privateKey.pem\r
{{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}\r
{{else}}\r
- name: logging-pvc\r
- name: APP_VERSION\r
value: {{.Values.version}}\r
volumeMounts:\r
- - name: {{.Values.appName}}-cert-volume\r
- mountPath: /opt/cert\r
+# - name: {{.Values.appName}}-cert-volume\r
+# mountPath: /opt/cert\r
{{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}\r
{{else}}\r
- name: logging-pvc\r
env: dev\r
version: 0.0.1-SNAPSHOT\r
image: otf-ping-test-head:0.0.1-SNAPSHOT\r
-namespace: org-oran-otf\r
+#namespace:\r
nodePort: 32225\r
replicas: 1\r
health : /otf/vth/ping/v1/health\r
-sharedCert: otf-cert-secret-builder\r
+#sharedCert: otf-cert-secret-builder\r
#pullSecret: ""\r
pvc:\r
dev: org-oran-otf-dev-logs-pv\r
-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
# use_reloader=True,\r
# ssl_context=context)\r
# Run without ssl\r
- app.run(debug=app.config['DEBUG'], host='0.0.0.0', use_reloader=True, port=5000)
\ No newline at end of file
+ app.run(debug=app.config['DEBUG'], host='0.0.0.0', use_reloader=True, port=5000)
\ No newline at end of file
-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
env: dev\r
version: 0.0.1-SNAPSHOT\r
image: otf-ssh-test-head:0.0.1-SNAPSHOT\r
-namespace: org-oran-otf\r
+namespace:\r
nodePort: 32222\r
replicas: 1\r
health : /otf/vth/ssh/v1/health\r
-apiVersion: extensions/v1beta1\r
+apiVersion: apps/v1\r
kind: Deployment\r
metadata:\r
name: {{ .Values.appName}}\r
protocol: TCP\r
env:\r
- name: NAMESPACE\r
- value: {{.Values.namespace}}\r
+ value: {{ .Values.namespace}}\r
- name: APP_NAME\r
value: {{ .Values.appName}}\r
- name: APP_VERSION\r
- value: {{.Values.version}}\r
+ value: {{ .Values.version}}\r
- name: HTTP\r
value: {{ .Values.HTTP}}\r
- name: HTTPS\r
pvc:\r
dev: org-oran-otf-dev-logs-pv\r
prod: org-oran-otf-prod-logs-pv\r
-HTTP: "[Your HTTP PROXY HERE]"\r
-HTTPS: "[Your HTTPS PROXY HERE]"\r
+HTTP: "Your HTTP PROXY HERE"\r
+HTTPS: "Your HTTPS PROXY HERE"\r
BASE_URL: "base url for health check"\r
credentials:\r
username: "!"\r