X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=site_type%2Fovsdpdk%2Ftemplates%2Fbaremetal%2Fpromjoin.j2;fp=site_type%2Fovsdpdk%2Ftemplates%2Fbaremetal%2Fpromjoin.j2;h=0000000000000000000000000000000000000000;hb=d0a8cc561d32ce83499a52d9893482124bfa2871;hp=d16b48e9c69ceaa6f37165265fa6de13fe6feafd;hpb=267230d53447c489d10905f260f503f2e71d414f;p=yaml_builds.git diff --git a/site_type/ovsdpdk/templates/baremetal/promjoin.j2 b/site_type/ovsdpdk/templates/baremetal/promjoin.j2 deleted file mode 100644 index d16b48e..0000000 --- a/site_type/ovsdpdk/templates/baremetal/promjoin.j2 +++ /dev/null @@ -1,65 +0,0 @@ ---- -############################################################################## -# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. # -# # -# You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -############################################################################## - -schema: 'drydock/BootAction/v1' -metadata: - schema: 'metadata/Document/v1' - name: promjoin - storagePolicy: 'cleartext' - layeringDefinition: - abstract: false - layer: site - labels: - application: 'drydock' -data: - signaling: false - node_filter: - filter_set_type: 'union' - filter_set: - - filter_type: 'union' - node_names: -{% for server in yaml.masters %} - - '{{server.name}}' -{% endfor %} -{% if 'workers' in yaml %}{% for server in yaml.workers %} - - '{{server.name}}' -{% endfor %}{% endif %} -{% raw %} # TODO(alanmeadows) move what is global about this document - everything except nodenames to global - assets: - - path: /opt/promjoin.sh - type: file - permissions: '555' - # TODO(alanmeadows) You must replace the ip= parameter below with the appropriate MaaS network name of the network - # you should use to contact kubernetes in the case below, this is cab24_mgmt - 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 - - path: /lib/systemd/system/promjoin.service - type: unit - permissions: '600' - data: |- - W1VuaXRdCkRlc2NyaXB0aW9uPVByb21lbmFkZSBJbml0aWFsaXphdGlvbiBTZXJ2aWNlCkFmdGVy - PW5ldHdvcmstb25saW5lLnRhcmdldCBsb2NhbC1mcy50YXJnZXQKQ29uZGl0aW9uUGF0aEV4aXN0 - cz0hL3Zhci9saWIvcHJvbS5kb25lCgpbU2VydmljZV0KVHlwZT1zaW1wbGUKRXhlY1N0YXJ0PS9v - cHQvcHJvbWpvaW4uc2gKCltJbnN0YWxsXQpXYW50ZWRCeT1tdWx0aS11c2VyLnRhcmdldAo= - data_pipeline: - - base64_decode - - utf8_decode -{% endraw %} -...