# What this PR does PR adds Tilt for local development ## Which issue(s) this PR fixes ## Checklist - [ ] Tests updated - [ ] Documentation added - [ ] `CHANGELOG.md` updated --------- Co-authored-by: Joey Orlando <joseph.t.orlando@gmail.com> Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com> Co-authored-by: Michael Derynck <michael.derynck@grafana.com> Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
31 lines
809 B
YAML
31 lines
809 B
YAML
{{- if .Values.ui.enabled }}
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: oncall-ui
|
|
labels:
|
|
app.kubernetes.io/component: oncall-ui
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/component: oncall-ui
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: oncall-ui
|
|
spec:
|
|
containers:
|
|
- name: oncall-ui
|
|
image: "{{ .Values.ui.image.repository }}:{{ .Values.ui.image.tag | default .Chart.AppVersion }}"
|
|
imagePullPolicy: IfNotPresent
|
|
env:
|
|
{{- include "ui.env" . | nindent 12 }}
|
|
volumeMounts:
|
|
- mountPath: /etc/app
|
|
name: hot-reloaded-plugin
|
|
volumes:
|
|
- name: hot-reloaded-plugin
|
|
hostPath:
|
|
path: /oncall-plugin
|
|
{{- end }}
|