downgrade helm version and do playbook
Change-Id: Id451effe1286742e5e17e1a85c3627f6429905ac
This commit is contained in:
parent
493a70c883
commit
1cbb18788e
|
@ -1,9 +1,5 @@
|
|||
apiVersion: v2
|
||||
apiVersion: v1
|
||||
name: lodgeit
|
||||
description: Helm charts for deploying Lodgeit
|
||||
|
||||
type: application
|
||||
|
||||
version: 0.0.0
|
||||
|
||||
appVersion: 0.0.1
|
||||
|
|
|
@ -5,11 +5,24 @@
|
|||
helm_release_name: lodgeit
|
||||
helm_chart: ./chart
|
||||
tasks:
|
||||
|
||||
- name: Get the Node Port
|
||||
command: >
|
||||
kubectl get -o jsonpath="{.spec.ports[0].nodePort}" services lodgeit
|
||||
register: nodePort
|
||||
|
||||
- name: Get the Node IP
|
||||
command: >
|
||||
kubectl get nodes -o jsonpath="{.items[0].status.addresses[0].address}"
|
||||
register: nodeIP
|
||||
|
||||
|
||||
- name: post to lodget
|
||||
uri:
|
||||
url: http://marathon.service.consul:30009
|
||||
url: http://{{ nodeIP.stdout }}:{{ nodePort.stdout }}
|
||||
method: POST
|
||||
body: "{{ lookup('file','mesos-consul.json') }}"
|
||||
body_format: json
|
||||
headers:
|
||||
Content-Type: "application/json"
|
||||
|
||||
|
|
Loading…
Reference in New Issue