From 530efc9936331fc1de44b8b9d3304ca5d611d000 Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Mon, 11 Sep 2017 22:47:55 +0800 Subject: Rename to kube2msb Change-Id: I36b65c1124232646b257cf9d91ad2f7758023473 Issue-Id: OOM-260 Signed-off-by: HuabingZhao --- kubernetes/kube2msb/Chart.yaml | 4 +++ .../templates/kube2msb-registrator-deployment.yaml | 29 ++++++++++++++++++++++ kubernetes/kube2msb/values.yaml | 6 +++++ kubernetes/oom/Chart.yaml | 4 --- .../oom/templates/oom-registrator-deployment.yaml | 29 ---------------------- kubernetes/oom/values.yaml | 6 ----- 6 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 kubernetes/kube2msb/Chart.yaml create mode 100644 kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml create mode 100644 kubernetes/kube2msb/values.yaml delete mode 100644 kubernetes/oom/Chart.yaml delete mode 100644 kubernetes/oom/templates/oom-registrator-deployment.yaml delete mode 100644 kubernetes/oom/values.yaml (limited to 'kubernetes') diff --git a/kubernetes/kube2msb/Chart.yaml b/kubernetes/kube2msb/Chart.yaml new file mode 100644 index 0000000000..97a3454337 --- /dev/null +++ b/kubernetes/kube2msb/Chart.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +description: A Helm chart for Kubernetes +name: kube2msb-registrator +version: 0.1.0 diff --git a/kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml b/kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml new file mode 100644 index 0000000000..502c1fa50f --- /dev/null +++ b/kubernetes/kube2msb/templates/kube2msb-registrator-deployment.yaml @@ -0,0 +1,29 @@ +apiVersion: extensions/v1beta1 +kind: Deployment +metadata: + name: kube2msb-registrator + namespace: "{{ .Values.nsPrefix }}-kube2msb" +spec: + replicas: 1 + selector: + matchLabels: + app: kube2msb-registrator + template: + metadata: + labels: + app: kube2msb-registrator + name: kube2msb-registrator + spec: + hostname: kube2msb-registrator + containers: + - args: + image: {{ .Values.image.kube2msb }} + name: kube2msb-registrator + env: + - name: KUBE_MASTER_URL + value: {{ .Values.kubeMasterUrl }} + - name: MSB_URL + value: {{ .Values.discoveryUrl }} + imagePullPolicy: {{ .Values.pullPolicy }} + imagePullSecrets: + - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file diff --git a/kubernetes/kube2msb/values.yaml b/kubernetes/kube2msb/values.yaml new file mode 100644 index 0000000000..3864f4d335 --- /dev/null +++ b/kubernetes/kube2msb/values.yaml @@ -0,0 +1,6 @@ +nsPrefix: onap +pullPolicy: IfNotPresent +image: + kube2msb: nexus3.onap.org:10001/onap/oom/kube2msb +kubeMasterUrl: http://10.96.33.43:8080/r/projects/1a7/kubernetes:6443 +discoveryUrl: http://msb-discovery.onap-msb:10081 \ No newline at end of file diff --git a/kubernetes/oom/Chart.yaml b/kubernetes/oom/Chart.yaml deleted file mode 100644 index 97a3454337..0000000000 --- a/kubernetes/oom/Chart.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -description: A Helm chart for Kubernetes -name: kube2msb-registrator -version: 0.1.0 diff --git a/kubernetes/oom/templates/oom-registrator-deployment.yaml b/kubernetes/oom/templates/oom-registrator-deployment.yaml deleted file mode 100644 index 14329499cc..0000000000 --- a/kubernetes/oom/templates/oom-registrator-deployment.yaml +++ /dev/null @@ -1,29 +0,0 @@ -apiVersion: extensions/v1beta1 -kind: Deployment -metadata: - name: oom-registrator - namespace: "{{ .Values.nsPrefix }}-oom" -spec: - replicas: 1 - selector: - matchLabels: - app: oom-registrator - template: - metadata: - labels: - app: oom-registrator - name: oom-registrator - spec: - hostname: oom-registrator - containers: - - args: - image: {{ .Values.image.kube2msb }} - name: oom-registrator - env: - - name: KUBE_MASTER_URL - value: {{ .Values.kubeMasterUrl }} - - name: MSB_URL - value: {{ .Values.discoveryUrl }} - imagePullPolicy: {{ .Values.pullPolicy }} - imagePullSecrets: - - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file diff --git a/kubernetes/oom/values.yaml b/kubernetes/oom/values.yaml deleted file mode 100644 index 3864f4d335..0000000000 --- a/kubernetes/oom/values.yaml +++ /dev/null @@ -1,6 +0,0 @@ -nsPrefix: onap -pullPolicy: IfNotPresent -image: - kube2msb: nexus3.onap.org:10001/onap/oom/kube2msb -kubeMasterUrl: http://10.96.33.43:8080/r/projects/1a7/kubernetes:6443 -discoveryUrl: http://msb-discovery.onap-msb:10081 \ No newline at end of file -- cgit 1.2.3-korg