Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[percona_cluster] Add config.linkerd.io/opaque-ports annotations #7549

Merged
merged 3 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
/global/git-cert-shim @auhlig
/global/kibana-objecter @dimtass
/global/oauth-proxy @andypf @ArtieReus @databus23
/global/percona-cluster @galkindmitrii @defo89 @occamshatchet
/global/percona_cluster @galkindmitrii @defo89 @occamshatchet @s10 @businessbean
/global/prometheus-alertmanager-cnmp @auhlig
/global/prometheus-alertmanager-operated @viennaa @richardtief @Kuckkuck @IvoGoman @timojohlo
/global/prometheus-infra @artherd42 # old
Expand Down Expand Up @@ -172,7 +172,7 @@
/prometheus-rules/prometheus-virtual-rules @viennaa @richardtief @defo89 # old
/prometheus-rules/prometheus-vmware-rules @kevin-fischer @christopherhans @max-len @richardtief @viennaa @himanip94

/px/arp-discovery @swagner-de
/px/arp-discovery @swagner-de
/px/bird @swagner-de @rhalina @defo89 @occamshatchet @nikatza
/px/lg @rhalina @swagner-de @occamshatchet @nikatza

Expand Down
3 changes: 2 additions & 1 deletion global/percona_cluster/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
apiVersion: v1
name: percona_cluster
version: 1.1.8
version: 1.1.9
appVersion: 5.7.19
description: free, fully compatible, enhanced, open source drop-in replacement for
MySQL with Galera Replication (xtradb)
Expand Down
7 changes: 7 additions & 0 deletions global/percona_cluster/templates/backupjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ spec:
activeDeadlineSeconds: 1200
template:
spec:
metadata:
annotations:
{{- if and $.Values.global.linkerd_enabled $.Values.global.linkerd_requested }}
linkerd.io/inject: enabled
config.linkerd.io/opaque-ports: "3306,4444,4567,4568"
config.alpha.linkerd.io/proxy-enable-native-sidecar: "true"
{{- end }}
securityContext:
runAsUser: {{ .Values.backup.security_context_ids }}
runAsGroup: {{ .Values.backup.security_context_ids }}
Expand Down
4 changes: 4 additions & 0 deletions global/percona_cluster/templates/service-repl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: v1
kind: Service
metadata:
name: "{{ include "fullName" . }}-repl"
annotations:
{{- if and $.Values.global.linkerd_enabled $.Values.global.linkerd_requested }}
config.linkerd.io/opaque-ports: "4444,4567,4568"
{{- end }}
labels:
app: {{ include "fullName" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
1 change: 1 addition & 0 deletions global/percona_cluster/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
annotations:
{{- if and $.Values.global.linkerd_enabled $.Values.global.linkerd_requested }}
linkerd.io/inject: enabled
config.linkerd.io/opaque-ports: "3306,4444,4567,4568"
{{- end }}
prometheus.io/scrape: "true"
prometheus.io/targets: {{ required ".Values.alerts.prometheus missing" .Values.alerts.prometheus | quote }}
Expand Down
Loading