about summary refs log tree commit diff
path: root/k8s
diff options
context:
space:
mode:
Diffstat (limited to 'k8s')
-rw-r--r--k8s/rest-api/README.md1
-rw-r--r--k8s/rest-api/templates/service.yaml2
-rw-r--r--k8s/rest-api/values.yaml4
3 files changed, 4 insertions, 3 deletions
diff --git a/k8s/rest-api/README.md b/k8s/rest-api/README.md
new file mode 100644
index 0000000..4381b6f
--- /dev/null
+++ b/k8s/rest-api/README.md
@@ -0,0 +1 @@
+helm upgrade rest-api --set image.tag=$(git rev-parse --short HEAD) .
diff --git a/k8s/rest-api/templates/service.yaml b/k8s/rest-api/templates/service.yaml
index 12994b1..e8deb79 100644
--- a/k8s/rest-api/templates/service.yaml
+++ b/k8s/rest-api/templates/service.yaml
@@ -8,7 +8,7 @@ spec:
   type: {{ .Values.service.type }}
   ports:
     - port: 9999
-      targetPort: 80
+      targetPort: 8080
       protocol: TCP
       name: http
   selector:
diff --git a/k8s/rest-api/values.yaml b/k8s/rest-api/values.yaml
index e444f95..550eb82 100644
--- a/k8s/rest-api/values.yaml
+++ b/k8s/rest-api/values.yaml
@@ -5,7 +5,7 @@
 replicaCount: 1
 
 image:
-  repository: nginx
+  repository: docker.io/baitinq/fs-tracer
   pullPolicy: IfNotPresent
   # Overrides the image tag whose default is the chart appVersion.
   tag: ""
@@ -38,7 +38,7 @@ securityContext: {}
 
 service:
   type: LoadBalancer
-  port: 80
+  port: 8080
 
 ingress:
   enabled: false