Browse Source

updating

pull/45/head
Petti, Ken 5 years ago
parent
commit
439cac2448
  1. 36
      helm-socks-frontend/templates/front-end-svc.yaml
  2. 2
      helm-socks-frontend/templates/tests/workflow.yaml

36
helm-socks-frontend/templates/front-end-svc.yaml

@ -1,18 +1,18 @@
---
apiVersion: v1
kind: Service
metadata:
name: {{ include "helm-socks-frontend.name" . }}
labels:
{{- include "helm-socks-frontend.labels" . | nindent 4 }}
annotations:
service.beta.kubernetes.io/aws-load-balancer-type: nlb
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 8079
selector:
name: front-end
loadBalancerSourceRanges:
- 205.207.104.229/32
# ---
# apiVersion: v1
# kind: Service
# metadata:
# name: {{ include "helm-socks-frontend.name" . }}
# labels:
# {{- include "helm-socks-frontend.labels" . | nindent 4 }}
# annotations:
# service.beta.kubernetes.io/aws-load-balancer-type: nlb
# spec:
# type: LoadBalancer
# ports:
# - port: 80
# targetPort: 8079
# selector:
# name: front-end
# loadBalancerSourceRanges:
# - 205.207.104.229/32

2
helm-socks-frontend/templates/tests/workflow.yaml

@ -12,7 +12,6 @@ spec:
- name: check-service-up
container:
image: appropriate/curl
command: ["curl"]
args:
- '-X GET'
- 'helm-socks-frontend-int'
@ -32,7 +31,6 @@ spec:
- name: status
container:
image: appropriate/curl
command: ["curl"]
args:
- '-X POST'
- '-H "Content-Type: application/json"'

Loading…
Cancel
Save