Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[portal] Update portal to 0.2.2 #14

Merged
merged 6 commits into from
Sep 5, 2018
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 29 additions & 16 deletions helmfile.d/0620.portal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ helmDefaults:
repositories:
# Cloud Posse incubator repo of helm charts
- name: "cloudposse-incubator"
url: "https://charts.cloudposse.com/incubator/"
# url: "https://charts.cloudposse.com/incubator/"
url: "https://charts.dev.cloudposse.com/fix/gh151/portal-url-paths/incubator/"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we should reference dev repo?


releases:

Expand All @@ -31,43 +32,50 @@ releases:
vendor: "cloudposse"
default: "true"
chart: "cloudposse-incubator/portal"
version: "0.1.0"
version: "0.2.2"
values:
- backends:
### Optional: PORTAL_BACKEND_K8S_DASHBOARD_ENABLED
{{ if eq (env "PORTAL_BACKEND_K8S_DASHBOARD_ENABLED" | default "true") "true" }}
### Optional: PORTAL_BACKEND_DASHBOARD_ENABLED
{{ if eq (env "PORTAL_BACKEND_DASHBOARD_ENABLED" | default "true") "true" }}
dashboard:
### Optional: PORTAL_BACKEND_K8S_DASHBOARD_NAME
name: '{{ env "PORTAL_BACKEND_K8S_DASHBOARD_NAME" | default "Kubernetes" }}'
### Optional: PORTAL_BACKEND_K8S_DASHBOARD_ENDPOINT;
endpoint: '{{ env "PORTAL_BACKEND_K8S_DASHBOARD_ENDPOINT" | default "https://kubernetes-dashboard.kube-system:443" }}'
### Optional: PORTAL_BACKEND_DASHBOARD_NAME
name: '{{ env "PORTAL_BACKEND_DASHBOARD_NAME" | default "Kubernetes" }}'
externalName: '{{ env "PORTAL_BACKEND_DASHBOARD_SERVICE_NAME" | default "kubernetes-dashboard.kube-system.svc.cluster.local" }}'
servicePort: '{{ env "PORTAL_BACKEND_DASHBOARD_SERVICE_PORT" | default "443" }}'
tls: true
external: false
{{ end }}
### Optional: PORTAL_BACKEND_GRAFANA_ENABLED
{{ if eq (env "PORTAL_BACKEND_GRAFANA_ENABLED" | default "true") "true" }}
grafana:
### Optional: PORTAL_BACKEND_GRAFANA_NAME
name: '{{ env "PORTAL_BACKEND_GRAFANA_NAME" | default "Grafana" }}'
### Optional: PORTAL_BACKEND_GRAFANA_ENDPOINT
endpoint: '{{ env "PORTAL_BACKEND_GRAFANA_ENDPOINT" | default "http://kube-prometheus-grafana.monitoring:80" }}'
### Optional: PORTAL_BACKEND_GRAFANA_SERVICE_NAME
serviceName: '{{ env "PORTAL_BACKEND_GRAFANA_SERVICE_NAME" | default "kube-prometheus-grafana" }}'
### Optional: PORTAL_BACKEND_GRAFANA_SERVICE_PORT
servicePort: '{{ env "PORTAL_BACKEND_GRAFANA_SERVICE_PORT" | default "80" }}'
external: false
{{ end }}
### Optional: PORTAL_BACKEND_ALERTS_ENABLED
{{ if eq (env "PORTAL_BACKEND_ALERTS_ENABLED" | default "true") "true" }}
alerts:
### Optional: PORTAL_BACKEND_ALERTS_NAME
name: '{{ env "PORTAL_BACKEND_ALERTS_NAME" | default "Alerts" }}'
### Optional: PORTAL_BACKEND_ALERTS_ENDPOINT
endpoint: '{{ env "PORTAL_BACKEND_ALERTS_ENDPOINT" | default "http://kube-prometheus-alertmanager.monitoring:9093" }}'
### Optional: PORTAL_BACKEND_ALERTS_SERVICE_NAME
serviceName: '{{ env "PORTAL_BACKEND_ALERTS_SERVICE_NAME" | default "kube-prometheus-alertmanager" }}'
### Optional: PORTAL_BACKEND_ALERTS_SERVICE_PORT
servicePort: '{{ env "PORTAL_BACKEND_ALERTS_SERVICE_PORT" | default "9093" }}'
external: false
{{ end }}
### Optional: PORTAL_BACKEND_PROMETHEUS_ENABLED
{{ if eq (env "PORTAL_BACKEND_PROMETHEUS_ENABLED" | default "true") "true" }}
prometheus:
### Optional: PORTAL_BACKEND_PROMETHEUS_NAME
name: '{{ env "PORTAL_BACKEND_PROMETHEUS_NAME" | default "Prometheus" }}'
### Optional: PORTAL_BACKEND_PROMETHEUS_ENDPOINT
endpoint: '{{ env "PORTAL_BACKEND_PROMETHEUS_ENDPOINT" | default "http://kube-prometheus-prometheus.monitoring:9090" }}'
### Optional: PORTAL_BACKEND_PROMETHEUS_SERVICE_NAME
serviceName: '{{ env "PORTAL_BACKEND_PROMETHEUS_SERVICE_NAME" | default "kube-prometheus-prometheus" }}'
### Optional: PORTAL_BACKEND_PROMETHEUS_SERVICE_PORT
servicePort: '{{ env "PORTAL_BACKEND_PROMETHEUS_SERVICE_PORT" | default "9090" }}'
external: false
{{ end }}
### Optional: PORTAL_BACKEND_DOCS_ENABLED
Expand All @@ -84,8 +92,13 @@ releases:
kibana:
### Optional: PORTAL_BACKEND_KIBANA_NAME
name: '{{ env "PORTAL_BACKEND_KIBANA_NAME" | default "Kibana" }}'
### Optional: PORTAL_BACKEND_KIBANA_ENDPOINT
endpoint: '{{ env "PORTAL_BACKEND_KIBANA_ENDPOINT" | default "http://kibana.monitoring:80" }}'
### Optional: PORTAL_BACKEND_KIBANA_EXTERNAL_NAME
externalName: '{{ env "PORTAL_BACKEND_KIBANA_EXTERNAL_NAME" | default "kibana.monitoring" }}'
### Optional: PORTAL_BACKEND_KIBANA_SERVICE_PORT
servicePort: '{{ env "PORTAL_BACKEND_KIBANA_SERVICE_PORT" | default "443" }}'
### Optional: PORTAL_BACKEND_KIBANA_PATH
path: '{{ env "PORTAL_BACKEND_KIBANA_PATH" | default "/_plugin/kibana" }}'
tls: true
external: false
{{ end }}
- config:
Expand Down