forked from RedHatInsights/insights-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frontend.yml
43 lines (43 loc) · 1.04 KB
/
frontend.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: v1
kind: Template
metadata:
name: insights-chrome
objects:
- apiVersion: cloud.redhat.com/v1alpha1
kind: Frontend
metadata:
name: chrome
spec:
envName: ${ENV_NAME}
deploymentRepo: https://github.com/RedHatInsights/insights-chrome
title: Chrome
image: ${IMAGE}:${IMAGE_TAG}
API:
versions:
- v1
module:
manifestLocation: "/apps/chrome/js/fed-mods.json"
config:
ssoUrl: ${SSO_URL}
modules:
- id: 'satellite-token'
module: './SatelliteToken'
routes:
- pathname: /insights/satellite
frontend:
paths:
- /
- /config/chrome
akamaiCacheBustPaths:
- /config/chrome/fed-modules.json
- /apps/chrome/index.html
- /apps/chrome/js/fed-mods.json
parameters:
- name: ENV_NAME
required: true
- name: IMAGE_TAG
required: true
- name: SSO_URL
required: true
- name: IMAGE
value: quay.io/cloudservices/insights-chrome-frontend