UNCLASSIFIED - NO CUI

Skip to content

Resolve "Allow url modification for all applications"

What:

  • Adds the ability to modify the following for all the virtualservices:
    • full hostname
    • labels
    • gateways
    • hosts

Why:

  • To allow users to more granularly modify the virtualservices

Supporting Info:

$ helm template  chart -f tests/test-values.yml -s templates/bigbang/alertmanager-vs.yaml
---
# Source: kube-prometheus-stack/templates/bigbang/alertmanager-vs.yaml
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: RELEASE-NAME-kube-promethe-alertmanager
  namespace: logging
  labels:
    app: kube-prometheus-stack-alertmanager
    chart: kube-prometheus-stack-11.0.0-bb.10
    release: "RELEASE-NAME"
    heritage: "Helm"
spec:
  gateways:
    - istio-system/main
  hosts:
    - alertmanager.bigbang.dev
  http:
    - route:
        - destination:
            port:
              number: 9093
            host: RELEASE-NAME-kube-promethe-alertmanager.logging.svc.cluster.local
$ helm template  chart -f tests/test-values.yml -s templates/bigbang/prometheus-vs.yaml
---
# Source: kube-prometheus-stack/templates/bigbang/prometheus-vs.yaml
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: RELEASE-NAME-kube-promethe-prometheus
  namespace: logging
  labels:
    app: kube-prometheus-stack-prometheus
    chart: kube-prometheus-stack-11.0.0-bb.10
    release: "RELEASE-NAME"
    heritage: "Helm"
spec:
  gateways:
  hosts:
  http:
    - route:
        - destination:
            port:
              number: 9090
            host: RELEASE-NAME-kube-promethe-prometheus.logging.svc.cluster.local
 $ helm template  chart -f tests/test-values.yml -s templates/bigbang/grafana-vs.yaml
---
# Source: kube-prometheus-stack/templates/bigbang/grafana-vs.yaml
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: RELEASE-NAME-kube-promethe-grafana
  namespace: logging
  labels:
    app: kube-prometheus-stack-grafana
    chart: kube-prometheus-stack-11.0.0-bb.10
    release: "RELEASE-NAME"
    heritage: "Helm"
spec:
  gateways:
    - istio-system/main
  hosts:
    - grafana.bigbang.dev
  http:
    - route:
        - destination:
            port:
              number: 80
            host: RELEASE-NAME-grafana

Closes #3 (closed)

Edited by Ismail Ahmad

Merge request reports

Loading