Commit Graph

5 Commits

Author SHA1 Message Date
Michal Nasiadka 5c0c27807a Drop k8s_coreos_v1 driver
Change-Id: I64884677cf05c59c64988dfbee9bf22e97a3466b
2024-02-05 07:04:05 +00:00
Kevin Lefevre 44f364b2ef Remove $myip when unnecessary and use KUBE_NODE_IP
myip is defined almost in every fragment. It is unnecessary. We can use
KUBE_NODE_IP that is defined in HEAT. Also, if for some reason
KUBE_NODE_IP is empty, we use the failsafe like in make-cert fragment
where we curl metadata to make sure KUBE_NODE_IP is not empty.

Implements: blueprint coreos-best-pratice
Change-Id: I8597a5afa9b4bc7a5c740738303102e7b60ec63e
2017-02-10 14:35:27 +01:00
Kevin Lefevre 220675d42a Use heat-params in systemd unit
Instead of sourcing heat-params in script, we can use it as a systemd
unit EnvironmentFile directive and not inline in sh scripts.

Change-Id: I3ebf23dee6785febdc87bc5ce4212c30ef24806e
2017-02-01 09:18:19 +01:00
ArchiFleKs ac68cfc086 Update MY_IP to use curl and metadata instead of cut
Change-Id: I1b7149c330c797c0909d4be6b04e9ab52e875ea4
2017-01-24 16:35:04 +01:00
Eli Qiao f081cf18e5 k8s_coreos_driver: cleanup file naming
Since we have seperate template files to different driver directory, we
can cleanup -coreos suffix from template.

1. Remove unused shell scripts.
2. Remove kube-examples.yaml and kube-user.yaml which is never used.

Closes-bug: #1606655
Change-Id: I6ac93ad23e7ae30ad1eb9be1c79c2cf36af8db0c
2016-07-27 17:41:44 +08:00