From 0257195f8dc2b1350558dd9bc326ef3d610bef21 Mon Sep 17 00:00:00 2001 From: Muhammad Raihan Akbar <ianakbar711@gmail.com> Date: Fri, 14 Feb 2025 19:25:46 +0700 Subject: [PATCH] ci: add resources.yaml --- resources.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 resources.yaml diff --git a/resources.yaml b/resources.yaml new file mode 100644 index 0000000..a3d64c5 --- /dev/null +++ b/resources.yaml @@ -0,0 +1,34 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: authentication +spec: + type: LoadBalancer + selector: + app: authentication + ports: + - port: 80 + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: authentication + labels: + app: authentication +spec: + replicas: 1 + selector: + matchLabels: + app: authentication + template: + metadata: + labels: + app: authentication + spec: + containers: + - name: authentication + image: us-central1-docker.pkg.dev/GOOGLE_PROJECT/my-repository/authentication:latest + ports: + - containerPort: 8080 \ No newline at end of file -- GitLab