Skip to content
Snippets Groups Projects
Unverified Commit 64c240c7 authored by dave-juicelabs's avatar dave-juicelabs Committed by GitHub
Browse files

Add port names and run controller action only when changes occur to the controller (#44)

parent 06f85940
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,10 @@ on: ...@@ -4,6 +4,10 @@ on:
push: push:
branches: branches:
- master - master
paths:
- cmd/controller/**
- docker/controller/**
- pkg/**
jobs: jobs:
docker: docker:
......
apiVersion: v2 apiVersion: v2
name: juice-controller name: juice-controller
version: 1.0.3 version: 1.0.4
type: application type: application
home: https://github.com/Juice-Labs/Juice-Labs home: https://github.com/Juice-Labs/Juice-Labs
icon: https://raw.githubusercontent.com/Juice-Labs/Juice-Labs/master/assets/Juice.svg icon: https://raw.githubusercontent.com/Juice-Labs/Juice-Labs/master/assets/Juice.svg
......
...@@ -12,11 +12,13 @@ spec: ...@@ -12,11 +12,13 @@ spec:
selector: selector:
app.juicelabs.co/controller: frontend app.juicelabs.co/controller: frontend
ports: ports:
- protocol: TCP - name: controller
protocol: TCP
port: {{ .Values.service.port }} port: {{ .Values.service.port }}
targetPort: controller targetPort: controller
{{- if .Values.prometheus }} {{- if .Values.prometheus }}
- protocol: TCP - name: prometheus
protocol: TCP
port: {{ .Values.prometheus.port }} port: {{ .Values.prometheus.port }}
targetPort: prometheus targetPort: prometheus
{{- end }} {{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment