Skip to content

Commit

Permalink
Merge pull request mpandav#12 from alexandrev-tibco/tp-provisioner-ag…
Browse files Browse the repository at this point in the history
…ent-ingress-2

Changes to including Host *.eu-west.my.tibco.com in the HA Proxy Ingress Rules
  • Loading branch information
mbloomfi-tibco authored Aug 21, 2024
2 parents 992f441 + 9b4179e commit 9033a42
Show file tree
Hide file tree
Showing 10 changed files with 106 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/artifactmanager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
#
apiVersion: v2
name: artifactmanager
version: 1.2.14
version: 1.2.15
appVersion: "1.2.0"
description: A Helm chart for Artifact Manager
25 changes: 25 additions & 0 deletions charts/artifactmanager/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,29 @@ spec:
port:
number: {{ $.Values.service.port }}
{{- end }}
- host: "*.eu-west.my.tibco.com"
http:
{{- if $.Values.ingress.hostsOverride -}}
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
{{- end }}
backend:
service:
name: {{ $fullName }}
port:
number: {{ $.Values.service.port }}
{{- end }}
{{- else}}
paths:
- path: /tibco/agent/integration/{{ $.Values.global.cp.instanceId }}/artifactmanager/
pathType: Prefix
backend:
service:
name: {{ $fullName }}
port:
number: {{ $.Values.service.port }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/bwprovisioner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

apiVersion: v2
name: bwprovisioner
version: 1.2.16
version: 1.2.17
appVersion: "1.2.0"
description: TIBCO Platform Dataplane Capabilty -- BW Provisioner
home: https://github.com/tibco/tp-iapp-bw-provisioner.git
Expand Down
25 changes: 25 additions & 0 deletions charts/bwprovisioner/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,29 @@ spec:
port:
number: {{ $.Values.service.port }}
{{- end }}
- host: "*.eu-west.my.tibco.com"
http:
{{- if $.Values.ingress.hostsOverride -}}
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
{{- end }}
backend:
service:
name: {{ $fullName }}
port:
number: {{ $.Values.service.port }}
{{- end }}
{{- else}}
paths:
- path: /tibco/agent/integration/{{ $.Values.global.cp.instanceId }}/bwprovisioner/
pathType: Prefix
backend:
service:
name: {{ $fullName }}
port:
number: {{ $.Values.service.port }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/dp-core-infrastructure/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ dependencies:
description: A Helm chart for Data Plane Infrastructure
name: dp-core-infrastructure
type: application
version: 1.2.25
version: 1.2.26
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ keywords:
- provisioner-agent
- data-plane
name: tp-provisioner-agent
version: 1.2.12
version: 1.2.13
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
name: {{ include "tp-provisioner-agent.consts.appName" . }}
port:
number: 80
- host: "cpdpproxy"
- host: "*.eu-west.my.tibco.com"
http:
paths:
- pathType: Prefix
Expand Down
2 changes: 1 addition & 1 deletion charts/o11y-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
#
apiVersion: v2
name: o11yservice
version: 1.2.32
version: 1.2.33
appVersion: "1.2.0"
description: A helm chart for o11y service
25 changes: 25 additions & 0 deletions charts/o11y-service/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,29 @@ spec:
port:
number: {{ $.Values.service.port }}
{{- end }}
- host: "*.eu-west.my.tibco.com"
http:
{{- if $.Values.ingress.hostsOverride -}}
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
{{- end }}
backend:
service:
name: {{ $fullName }}
port:
number: {{ $.Values.service.port }}
{{- end }}
{{- else}}
paths:
- path: /tibco/agent/o11y/{{ $.Values.global.cp.instanceId }}/o11y-service/
pathType: Prefix
backend:
service:
name: {{ $fullName }}
port:
number: {{ $.Values.service.port }}
{{- end }}
{{- end -}}
25 changes: 25 additions & 0 deletions charts/o11y-service/templates/ingress_jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,29 @@ spec:
port:
number: {{ $.Values.jaeger.service.port }}
{{- end }}
- host: "*.eu-west.my.tibco.com"
http:
{{- if $.Values.jaeger.ingress.hostsOverride -}}
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
{{- end }}
backend:
service:
name: {{ $.Values.jaeger.service.name }}
port:
number: {{ $.Values.jaeger.service.port }}
{{- end }}
{{- else}}
paths:
- path: /tibco/agent/o11y/{{ $.Values.global.cp.instanceId }}/jaeger-query/
pathType: Prefix
backend:
service:
name: {{ $.Values.jaeger.service.name }}
port:
number: {{ $.Values.jaeger.service.port }}
{{- end }}
{{- end -}}

0 comments on commit 9033a42

Please sign in to comment.