Skip to content
.meepctl-repocfg.yaml 38.5 KiB
Newer Older
# Copyright (c) 2019  InterDigital Communications, Inc
#
# 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.

repo:
  name: AdvantEDGE

  #------------------------------
  #  Deployment
  #------------------------------
  deployment:
    # permissions
    permissions:
      # user id
      uid: 1000
      # group id
      gid: 1000

    # user supplied resources
    user:
      # user supplied frontend UI located @ .meep/user/frontend
      frontend: false
      # user supplied platform swagger UI located @ .meep/user/swagger
      # user supplied sandbox swagger UI located @ .meep/user/sandbox-swagger
      swagger: false

Simon Pastor's avatar
Simon Pastor committed
      host: my-platform-fqdn
      # enable https only (redirect http requests to https port)
      # bind to host ports (true) or node ports (false)
      host-ports: true
      # http port number
      http-port: 80
      https-port: 443
      # certificate authority (none|self-signed|lets-encrypt) default: none
      ca: self-signed
      # lets-encrypt production server (true) or staging server (false)
      le-server-prod: false
      # enable authentication & authorization
      # Provider-authenticated users allowed (open) or limited to user database (secure)
      provider-mode: open
      session:
        # session encryption key k8s secret (data: encryption-key)
        key-secret: meep-session
        # maximum simultaneous sessions
        max-sessions: 10
      # GitHub OAuth provider config
      github:
        # enable GitHub OAuth
        # authorization url
        auth-url: https://github.com/login/oauth/authorize
        # access token url
        token-url: https://github.com/login/oauth/access_token
        # OAuth redirect URI
        redirect-uri: https://my-platform-fqdn/auth/v1/authorize
        # OAuth k8s secret (data: client-id, secret)
        secret: meep-oauth-github
      # GitLab OAuth provider config
      gitlab:
        # enable GitLab OAuth
        # authorization url
        auth-url: https://gitlab.com/oauth/authorize
        # access token url
        token-url: https://gitlab.com/oauth/token
        # OAuth redirect URI
        redirect-uri: https://my-platform-fqdn/auth/v1/authorize
        # GitLab api url
        # api-url: https://gitlab.com
        # OAuth k8s secret (data: client-id, secret)
        secret: meep-oauth-gitlab
    # Metrics Configuration
    metrics:
      # Influx configuration
      influx:
        # enable influx data backups
        enabled: false
        # object store url
        url: my-object-store-fqdn
        # object store configuration secret
        secret: meep-influx-objstore-config
        # Number of days to retain daily data backups
        retention: 7
      # Prometheus configuration
      prometheus:
        # external labels added to prometheus metrics
        external-labels:
          # deployment region (geographic or logical)
          region: idcc
          # function being monitored
          monitor: advantedge
          # prometheus environment (dev|prod)
          promenv: prod
          # unique deployment identifier
          replica: platform-ip
      # Thanos long-term storage
      thanos:
        # enable Thanos
        enabled: false
        # object store configuration secret
        secret: meep-thanos-objstore-config
        # query component
        query:
          # enable querier
          enabled: true
        # query frontend component
        query-frontend:
          # enable query frontend
          enabled: true
        # store gateway component
        store-gateway:
          # enable store gateway
          enabled: true
        # compactor component
        compactor:
          # enable compactor
          enabled: false
          # data retention times
          retention:
            # raw data retention
            resolution-raw: 30d
            # 5m downsampled data retention
            resolution-5m: 60d
            # 1h downsampled data retention
            resolution-1h: 10y
      # Thanos long-term storage archive
      thanos-archive:
        # enable Thanos archive
        enabled: false
        # archive object store configuration secret
        secret: meep-thanos-archive-objstore-config

    # Default monitoring dashboards
    dashboards:
      network-metrics-point-to-point: dashboards/network-metrics-point-to-point.json
      network-metrics-aggregation: dashboards/network-metrics-aggregation.json
Simon Pastor's avatar
Simon Pastor committed
      wireless-metrics-point-to-point: dashboards/wireless-metrics-point-to-point.json
      wireless-metrics-aggregation: dashboards/wireless-metrics-aggregation.json
      http-single-log: dashboards/http-log-byId.json
      http-logs-aggregation: dashboards/http-loggers.json
      platform-advantedge: dashboards/platform-advantedge.json
      # platform-advantedge: dashboards/platform-advantedge-thanos.json
      platform-k8s: dashboards/platform-k8s.json
      runtime-environment-node: dashboards/runtime-environment-node.json
      runtime-environment-k8s-cluster: dashboards/runtime-environment-k8s-cluster.json
      kubelet: dashboards/kubelet.json
      prometheus: dashboards/prometheus.json
  #------------------------------
  #  Resource Prerequisites
  #------------------------------
  resource-prerequisites:
    # k8s Custom Resource Definitions
    crds:
      servicemonitors.monitoring.coreos.com: charts/kube-prometheus-stack/crds/crd-servicemonitors.yaml

  #------------------------------
  #  Core Subsystem
  #------------------------------
  core:

    # Go Applications
    go-apps:
      meep-auth-svc:
        # location of source code
        src: go-apps/meep-auth-svc
        # location of binary
        bin: bin/meep-auth-svc
        # location of deployment chart
        chart: charts/meep-auth-svc
        # user supplied value file located @ .meep/user/values (use below file name)
        chart-user-values: meep-auth-svc.yaml
        # enable meepctl build
Loading
Loading full blame…