Skip to content
Snippets Groups Projects
deploy_specs.sh 1.27 KiB
Newer Older
  • Learn to ignore specific revisions
  • Lluis Gifre Renom's avatar
    Lluis Gifre Renom committed
    # Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
    #
    # 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.
    
    
    # Set the URL of your local Docker registry where the images will be uploaded to.
    export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/"
    
    # Set the list of components, separated by spaces, you want to build images for, and deploy.
    
    export TFS_COMPONENTS="context device ztp service compute monitoring webui"
    
    
    # Set the tag you want to use for your images.
    export TFS_IMAGE_TAG="dev"
    
    # Set the name of the Kubernetes namespace to deploy to.
    export TFS_K8S_NAMESPACE="tfs"
    
    # Set additional manifest files to be applied after the deployment
    export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml"
    
    # Set the neew Grafana admin password
    export TFS_GRAFANA_PASSWORD="admin123+"