diff options
author | Jack Lucas <jflucas@research.att.com> | 2020-02-03 18:21:29 -0500 |
---|---|---|
committer | Jack Lucas <jflucas@research.att.com> | 2020-02-07 13:07:09 -0500 |
commit | bad772074d0bfd4c4dcb7bdd2cbe9ca7246fc28e (patch) | |
tree | 5119178d7308c199ffdc12a5b8b1c4877a1c092b /blueprints/reference_templates/k8s-dashboard.yaml-template | |
parent | 86685f86e7ee03a25f913da72de5105d92c1fbba (diff) |
Move k8s-bootstrap container to blueprints repo1.9.0
Cleanup of unnecessary input templates and other files
Use non-templatized blueprints instead of blueprint templates
Copy blueprints from blueprints/ directory into image
Move reference_templates to top-level directory
Issue-ID: DCAEGEN2-2041
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Change-Id: Ib846a96a4995eb97383f63ff764705e6277a24b0
Diffstat (limited to 'blueprints/reference_templates/k8s-dashboard.yaml-template')
-rw-r--r-- | blueprints/reference_templates/k8s-dashboard.yaml-template | 119 |
1 files changed, 0 insertions, 119 deletions
diff --git a/blueprints/reference_templates/k8s-dashboard.yaml-template b/blueprints/reference_templates/k8s-dashboard.yaml-template deleted file mode 100644 index 1d0fa10..0000000 --- a/blueprints/reference_templates/k8s-dashboard.yaml-template +++ /dev/null @@ -1,119 +0,0 @@ -# ============LICENSE_START==================================================== -# org.onap.dcae -# ============================================================================= -# Copyright (c) 2019 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. -# ============LICENSE_END====================================================== - -tosca_definitions_version: cloudify_dsl_1_3 - -imports: -- "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.4.13/k8splugin_types.yaml" -- "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_ccsdk_platform_plugins_releases }}/type_files/pgaas/1.1.0/pgaas_types.yaml" - -inputs: - database_cluster_name: - type: string - default: 'dcae-pg-primary.onap' - database_cluster_fqdn: - type: string - default: 'dcae-pg-primary.onap.svc.cluster.local' - database_name: - type: string - default: 'dashboard_pg' - postgres_port: - description: 'Postgres port for dashboard' - default: '5432' - dashboard_docker_image: - description: 'Docker image for dashboard' - default: 'nexus3.onap.org:10001/onap/org.onap.ccsdk.dashboard.ccsdk-app-os:1.1.0-SNAPSHOT-latest' - cloudify_ip: - type: string - default: 'dcae-cloudify-manager' - cloudify_user: - type: string - default: 'admin' - cloudify_password: - type: string - default: 'admin' - consul_url: - type: string - default: 'consul-server-ui' - external_port: - type: string - description: Kubernetes node port for standard http - default: "30418" - external_tls_port: - type: string - description: Kubernetes node port for standard https - default: "30419" - replicas: - type: integer - description: number of instances - default: 1 -node_templates: - pgaasdb: - type: dcae.nodes.pgaas.database - properties: - writerfqdn: { get_input: database_cluster_name } - name: { get_input: database_name } - dashboard_deployment: - type: dcae.nodes.ContainerizedPlatformComponent - interfaces: - cloudify.interfaces.lifecycle: - start: - inputs: - envs: - postgres_ip: - { get_input: database_cluster_fqdn } - postgres_db_name: - { get_input: database_name } - postgres_password_dashboard: - { get_attribute: [ pgaasdb, admin, password ] } - postgres_user_dashboard: - { get_attribute: [ pgaasdb, admin, user ] } - postgres_port: { get_input: postgres_port } - cloudify_user: { get_input: cloudify_user } - cloudify_password: { get_input: cloudify_password } - #consul_url: http://consul-server.onap.svc.cluster.local - consul_url: - concat: ["http://", { get_input: consul_url },":8500"] - #cfy_url: http://dcae-cloudify-manager:8080 - cfy_url: - concat: ["http://", { get_input: cloudify_ip },"/api/v3.1"] - inventory_url: http://inventory:8080 - dhandler_url: https://deployment-handler:8443 - ports: - - concat: ["8080:", { get_input: external_port }] - - concat: ["8443:", { get_input: external_tls_port }] - properties: - name: - "dcae-dashboard" - image: - { get_input: dashboard_docker_image } - replicas: {get_input: replicas} - dns_name: 'dcae-dashboard' - tls_info: - cert_directory: '/usr/local/share/ca-certificates/' - use_tls: true - docker_config: - healthcheck: - endpoint: /ccsdk-app/health - interval: 15s - timeout: 1s - type: http - relationships: - - type: cloudify.relationships.depends_on - target: pgaasdb - |