parent
9a0fbf7f6a
commit
d29db3d865
@ -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.6" |
||||||
|
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