Skip to content

Commit

Permalink
Add values for IPBlock and Location to chart (#11)
Browse files Browse the repository at this point in the history
* Add values for IPBlock and Location to chart

Signed-off-by: Tyler Auerbeck <[email protected]>

* Add Publisher URL var

Signed-off-by: Tyler Auerbeck <[email protected]>

---------

Signed-off-by: Tyler Auerbeck <[email protected]>
Co-authored-by: Tyler Auerbeck <[email protected]>
  • Loading branch information
tylerauerbeck and tylerauerbeck authored Jul 10, 2023
1 parent 96eb12f commit c99ce26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chart/loadbalancer-provider-haproxy/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ metadata:
data:
LOADBALANCERPROVIDERHAPROXY_EVENTS_SUBSCRIBER_PREFIX: "{{ .Values.provider.events.topicPrefix }}"
LOADBALANCERPROVIDERHAPROXY_EVENTS_SUBSCRIBER_URL: "{{ .Values.provider.events.connectionURL }}"
LOADBALANCERPROVIDERHAPROXY_EVENTS_PUBLISHER_URL: "{{ .Values.provider.events.connectionURL }}"
LOADBALANCERPROVIDERHAPROXY_EVENTS_QUEUEGROUP: "{{ .Values.provider.events.queueGroup }}"
LOADBALANCERPROVIDERHAPROXY_API_ENDPOINT: "{{ .Values.provider.api.endpoint }}"
LOADBALANCERPROVIDERHAPROXY_IPBLOCK: "{{ .Values.provider.ipBlock }}"
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ spec:
{{- range .Values.provider.events.changeTopics }}
- --change-topics={{ . }}
{{- end }}
- --event-locations={{ .Values.provider.events.location }}
ports:
- name: hc
containerPort: {{ .Values.provider.healthCheckPort | default "8080" }}
Expand Down
3 changes: 3 additions & 0 deletions chart/loadbalancer-provider-haproxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ service:
port: 80

provider:
ipBlock: ""
healthCheckPort: "8080"
replicas: 1
extraLabels: []
Expand All @@ -47,6 +48,8 @@ provider:
changeTopics:
- "changes.*.lb"
- "events.create.port"
location: ""


reloader:
enabled: false

0 comments on commit c99ce26

Please sign in to comment.