Skip to content

Commit

Permalink
Allows annotations for services to enable cloud provided load balance…
Browse files Browse the repository at this point in the history
…rs (#13)

* Allows annotations for services to enable cloud provided load balancers
  • Loading branch information
thundersparkf authored Aug 5, 2021
1 parent 4ea60f6 commit 0e61da8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/chatwoot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sources:
- http://www.chatwoot.com

#This is the chart version.
version: 0.5.0
version: 0.5.1

#This is application version.
appVersion: "v1.18.1"
5 changes: 4 additions & 1 deletion charts/chatwoot/templates/web-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ metadata:
creationTimestamp: null
labels:
{{- include "rails.labels" . | nindent 4}}

{{- with .Values.services.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ports:
- name: {{ .Values.services.name | quote}}
Expand Down
7 changes: 6 additions & 1 deletion charts/chatwoot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ services:
internlPort: 3000
targetPort: 3000
type: LoadBalancer
annotations: {}
# For example
# service.beta.kubernetes.io/aws-load-balancer-type: external
# service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip
# service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing

imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -60,7 +65,7 @@ ingress:
pathType: Prefix
backend:
service:
name: chatwoot-service
name: chatwoot
port:
number: 3000
tls: []
Expand Down

0 comments on commit 0e61da8

Please sign in to comment.