Etherpad support (#8)
* add etherpad integration * remove default ETHERPAD_URL_BASE * upgrade etherpad to 1.8.18pull/9/head
parent
9a0fbf7f6a
commit
b1721d5aee
@ -0,0 +1,30 @@ |
||||
apiVersion: apps/v1 |
||||
kind: Deployment |
||||
metadata: |
||||
name: {{ .Release.Name }}-etherpad |
||||
namespace: {{ .Release.Namespace }} |
||||
labels: |
||||
app.kubernetes.io/name: etherpad |
||||
app.kubernetes.io/instance: {{ .Release.Name }} |
||||
spec: |
||||
replicas: 1 |
||||
selector: |
||||
matchLabels: |
||||
app.kubernetes.io/name: etherpad |
||||
app.kubernetes.io/instance: {{ .Release.Name }} |
||||
template: |
||||
metadata: |
||||
labels: |
||||
app.kubernetes.io/name: etherpad |
||||
app.kubernetes.io/instance: {{ .Release.Name }} |
||||
spec: |
||||
containers: |
||||
- name: etherpad |
||||
image: "etherpad/etherpad:1.8.18" |
||||
imagePullPolicy: IfNotPresent |
||||
ports: |
||||
- name: http |
||||
containerPort: 9001 |
||||
protocol: TCP |
||||
resources: |
||||
{{- toYaml .Values.etherpad.resources | nindent 12 }} |
||||
@ -0,0 +1,17 @@ |
||||
apiVersion: v1 |
||||
kind: Service |
||||
metadata: |
||||
name: {{ .Release.Name }}-etherpad |
||||
namespace: {{ .Release.Namespace }} |
||||
labels: |
||||
app.kubernetes.io/name: etherpad |
||||
app.kubernetes.io/instance: {{ .Release.Name }} |
||||
spec: |
||||
type: ClusterIP |
||||
ports: |
||||
- port: 9001 |
||||
protocol: TCP |
||||
name: http |
||||
selector: |
||||
app.kubernetes.io/name: etherpad |
||||
app.kubernetes.io/instance: {{ .Release.Name }} |
||||
Loading…
Reference in new issue