summaryrefslogtreecommitdiffstats
path: root/setup/projects/adei/templates/40-mysql-svc.yml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'setup/projects/adei/templates/40-mysql-svc.yml.j2')
-rw-r--r--setup/projects/adei/templates/40-mysql-svc.yml.j216
1 files changed, 16 insertions, 0 deletions
diff --git a/setup/projects/adei/templates/40-mysql-svc.yml.j2 b/setup/projects/adei/templates/40-mysql-svc.yml.j2
new file mode 100644
index 0000000..6263966
--- /dev/null
+++ b/setup/projects/adei/templates/40-mysql-svc.yml.j2
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: Template
+metadata:
+ name: "mysql-service"
+objects:
+ - apiVersion: v1
+ kind: Service
+ metadata:
+ name: mysql
+ spec:
+ selector:
+ service: mysql
+ ports:
+ - name: "mysql"
+ port: 3306
+ targetPort: 3306