X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=site_type%2Fovsdpdk%2Fairship-treasuremap%2Fsite%2Fairship-seaworthy%2Fbaremetal%2Fbootactions%2Fpromjoin.yaml;fp=site_type%2Fovsdpdk%2Fairship-treasuremap%2Fsite%2Fairship-seaworthy%2Fbaremetal%2Fbootactions%2Fpromjoin.yaml;h=1042934a5ed6f6c5c5e73b82c0d2d63999eb5013;hb=fe885c06b13b6807209a76d0226a40d84ec61df3;hp=0000000000000000000000000000000000000000;hpb=f75a047e5d98eea7d43cfbe6ade55ce2e2e0f3a9;p=yaml_builds.git diff --git a/site_type/ovsdpdk/airship-treasuremap/site/airship-seaworthy/baremetal/bootactions/promjoin.yaml b/site_type/ovsdpdk/airship-treasuremap/site/airship-seaworthy/baremetal/bootactions/promjoin.yaml new file mode 100644 index 0000000..1042934 --- /dev/null +++ b/site_type/ovsdpdk/airship-treasuremap/site/airship-seaworthy/baremetal/bootactions/promjoin.yaml @@ -0,0 +1,32 @@ +--- +# This file defines a boot action which is responsible for fetching the node's +# promjoin script from the promenade API. This is the script responsible for +# installing kubernetes on the node and joining the kubernetes cluster. +# #GLOBAL-CANDIDATE# +schema: 'drydock/BootAction/v1' +metadata: + schema: 'metadata/Document/v1' + name: promjoin + storagePolicy: 'cleartext' + layeringDefinition: + abstract: false + layer: site + labels: + application: 'drydock' +data: + signaling: false + # TODO(alanmeadows) move what is global about this document + assets: + - path: /opt/promjoin.sh + type: file + permissions: '555' + # The ip= parameter must match the MaaS network name of the network used + # to contact kubernetes. With a standard, reference Airship deployment where + # L2 networks are shared between all racks, the network name (i.e. calico) + # should be correct. + location: promenade+http://promenade-api.ucp.svc.cluster.local/api/v1.0/join-scripts?design_ref={{ action.design_ref | urlencode }}&hostname={{ node.hostname }}&ip={{ node.network.calico.ip }}{% for k, v in node.labels.items() %}&labels.dynamic={{ k }}={{ v }}{% endfor %} + location_pipeline: + - template + data_pipeline: + - utf8_decode +...