Skip to content

Commit

Permalink
Merge branch 'main' into CLOUD-869
Browse files Browse the repository at this point in the history
  • Loading branch information
ptankov authored Dec 27, 2024
2 parents 1db6ca4 + 5a0fd38 commit 2176451
Show file tree
Hide file tree
Showing 40 changed files with 206 additions and 1,856 deletions.
2 changes: 1 addition & 1 deletion deploy/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11522,7 +11522,7 @@ spec:
value: percona-xtradb-cluster-operator
- name: DISABLE_TELEMETRY
value: "false"
image: percona/percona-xtradb-cluster-operator:1.16.0
image: perconalab/percona-xtradb-cluster-operator:main
imagePullPolicy: Always
livenessProbe:
failureThreshold: 3
Expand Down
8 changes: 4 additions & 4 deletions deploy/cr-minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PerconaXtraDBCluster
metadata:
name: minimal-cluster
spec:
crVersion: 1.16.0
crVersion: 1.17.0
secretsName: minimal-cluster-secrets
unsafeFlags:
tls: true
Expand All @@ -16,7 +16,7 @@ spec:
enabled: false
pxc:
size: 1
image: percona/percona-xtradb-cluster:8.0.39-30.1
image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0
volumeSpec:
persistentVolumeClaim:
resources:
Expand All @@ -25,7 +25,7 @@ spec:
haproxy:
enabled: true
size: 1
image: percona/haproxy:2.8.11
image: perconalab/percona-xtradb-cluster-operator:main-haproxy
logcollector:
enabled: true
image: percona/percona-xtradb-cluster-operator:1.16.0-logcollector-fluentbit3.2.2
image: perconalab/percona-xtradb-cluster-operator:main-logcollector
16 changes: 8 additions & 8 deletions deploy/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
# annotations:
# percona.com/issue-vault-token: "true"
spec:
crVersion: 1.16.0
crVersion: 1.17.0
# enableVolumeExpansion: false
# ignoreAnnotations:
# - iam.amazonaws.com/role
Expand All @@ -22,7 +22,7 @@ spec:
# sslInternalSecretName: cluster1-ssl-internal
# logCollectorSecretName: cluster1-log-collector-secrets
# initContainer:
# image: percona/percona-xtradb-cluster-operator:1.16.0
# image: perconalab/percona-xtradb-cluster-operator:main
# containerSecurityContext:
# privileged: false
# runAsUser: 1001
Expand Down Expand Up @@ -58,7 +58,7 @@ spec:
schedule: "0 4 * * *"
pxc:
size: 3
image: percona/percona-xtradb-cluster:8.0.39-30.1
image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0
autoRecovery: true
# expose:
# enabled: true
Expand Down Expand Up @@ -206,7 +206,7 @@ spec:
haproxy:
enabled: true
size: 3
image: percona/haproxy:2.8.11
image: perconalab/percona-xtradb-cluster-operator:main-haproxy
# imagePullPolicy: Always
# schedulerName: mycustom-scheduler
# readinessDelaySec: 15
Expand Down Expand Up @@ -381,7 +381,7 @@ spec:
proxysql:
enabled: false
size: 3
image: percona/proxysql2:2.7.1
image: perconalab/percona-xtradb-cluster-operator:main-proxysql
# imagePullPolicy: Always
# configuration: |
# datadir="/var/lib/proxysql"
Expand Down Expand Up @@ -543,7 +543,7 @@ spec:
# - 10.0.0.0/8
logcollector:
enabled: true
image: percona/percona-xtradb-cluster-operator:1.16.0-logcollector-fluentbit3.2.2
image: perconalab/percona-xtradb-cluster-operator:main-logcollector
# configuration: |
# [OUTPUT]
# Name es
Expand Down Expand Up @@ -576,7 +576,7 @@ spec:

pmm:
enabled: false
image: percona/pmm-client:2.44.0
image: perconalab/pmm-client:dev-latest
serverHost: monitoring-service
# serverUser: admin
# pxcParams: "--disable-tablestats-limit=2000"
Expand All @@ -589,7 +589,7 @@ spec:
cpu: 300m
backup:
# allowParallel: true
image: percona/percona-xtradb-cluster-operator:1.16.0-pxc8.0-backup-pxb8.0.35
image: perconalab/percona-xtradb-cluster-operator:main-pxc8.0-backup
# backoffLimit: 6
# activeDeadlineSeconds: 3600
# serviceAccountName: percona-xtradb-cluster-operator
Expand Down
2 changes: 1 addition & 1 deletion deploy/cw-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11532,7 +11532,7 @@ spec:
value: percona-xtradb-cluster-operator
- name: DISABLE_TELEMETRY
value: "false"
image: percona/percona-xtradb-cluster-operator:1.16.0
image: perconalab/percona-xtradb-cluster-operator:main
imagePullPolicy: Always
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion deploy/cw-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
value: percona-xtradb-cluster-operator
- name: DISABLE_TELEMETRY
value: "false"
image: percona/percona-xtradb-cluster-operator:1.16.0
image: perconalab/percona-xtradb-cluster-operator:main
imagePullPolicy: Always
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
value: percona-xtradb-cluster-operator
- name: DISABLE_TELEMETRY
value: "false"
image: percona/percona-xtradb-cluster-operator:1.16.0
image: perconalab/percona-xtradb-cluster-operator:main
imagePullPolicy: Always
livenessProbe:
failureThreshold: 3
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/functions
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ compare_kubectl() {
(.. | select(tag == "!!str")) |= sub("'$namespace'", "namespace") |
(.. | select(tag == "!!str")) |= sub("kube-api-access-.*", "kube-api-access") |
del(.. | select(has("annotations")).annotations | select(length==0)) |
del(.spec.crVersion) |
del(.. | select(.[] == "percona-xtradb-cluster-operator-workload-token*"))' - >${new_result}

diff -u ${expected_result} ${new_result}
Expand Down
1 change: 0 additions & 1 deletion e2e-tests/tls-issue-self/compare/pxc_some-name-enabled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ spec:
resources:
requests:
storage: 1Gi
crVersion: 1.16.0
logcollector:
enabled: true
pmm:
Expand Down
1 change: 0 additions & 1 deletion e2e-tests/tls-issue-self/compare/pxc_some-name.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ spec:
resources:
requests:
storage: 1Gi
crVersion: 1.16.0
logcollector:
enabled: true
pmm:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ spec:
selector:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: some-name
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
sessionAffinity: None
type: ClusterIP
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ spec:
selector:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: some-name
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
sessionAffinity: None
type: ClusterIP
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
generation: 2
generation: 1
name: some-name-proxysql
ownerReferences:
- controller: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
generation: 2
generation: 1
name: some-name-proxysql
ownerReferences:
- controller: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
generation: 3
generation: 2
name: some-name-proxysql
ownerReferences:
- controller: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
generation: 3
generation: 2
name: some-name-proxysql
ownerReferences:
- controller: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
generation: 1
generation: 3
name: some-name-proxysql
ownerReferences:
- controller: true
Expand Down Expand Up @@ -43,7 +43,15 @@ spec:
app.kubernetes.io/part-of: percona-xtradb-cluster
topologyKey: kubernetes.io/hostname
containers:
- env:
- args:
- proxysql
- -f
- -c
- /etc/proxysql/proxysql.cnf
- --reload
command:
- /opt/percona/proxysql-entrypoint.sh
env:
- name: PXC_SERVICE
value: some-name-pxc
- name: OPERATOR_PASSWORD
Expand Down Expand Up @@ -92,9 +100,11 @@ spec:
name: ssl
- mountPath: /etc/proxysql/ssl-internal
name: ssl-internal
- mountPath: /opt/percona
name: bin
- args:
- /usr/bin/peer-list
- -on-change=/usr/bin/add_pxc_nodes.sh
- /opt/percona/peer-list
- -on-change=/opt/percona/proxysql_add_pxc_nodes.sh
- -service=$(PXC_SERVICE)
env:
- name: PXC_SERVICE
Expand Down Expand Up @@ -125,9 +135,12 @@ spec:
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/percona
name: bin
- args:
- /usr/bin/peer-list
- -on-change=/usr/bin/add_proxysql_nodes.sh
- /opt/percona/peer-list
- -on-change=/opt/percona/proxysql_add_proxysql_nodes.sh
- -service=$(PROXYSQL_SERVICE)
env:
- name: PROXYSQL_SERVICE
Expand Down Expand Up @@ -158,6 +171,9 @@ spec:
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/percona
name: bin
dnsPolicy: ClusterFirst
initContainers:
- command:
Expand All @@ -173,6 +189,19 @@ spec:
volumeMounts:
- mountPath: /var/lib/mysql
name: bin
- command:
- /proxysql-init-entrypoint.sh
imagePullPolicy: Always
name: proxysql-init
resources:
limits:
cpu: 50m
memory: 50M
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/percona
name: bin
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
generation: 1
generation: 3
name: some-name-proxysql
ownerReferences:
- controller: true
Expand Down Expand Up @@ -43,7 +43,15 @@ spec:
app.kubernetes.io/part-of: percona-xtradb-cluster
topologyKey: kubernetes.io/hostname
containers:
- env:
- args:
- proxysql
- -f
- -c
- /etc/proxysql/proxysql.cnf
- --reload
command:
- /opt/percona/proxysql-entrypoint.sh
env:
- name: PXC_SERVICE
value: some-name-pxc
- name: OPERATOR_PASSWORD
Expand Down Expand Up @@ -92,9 +100,11 @@ spec:
name: ssl
- mountPath: /etc/proxysql/ssl-internal
name: ssl-internal
- mountPath: /opt/percona
name: bin
- args:
- /usr/bin/peer-list
- -on-change=/usr/bin/add_pxc_nodes.sh
- /opt/percona/peer-list
- -on-change=/opt/percona/proxysql_add_pxc_nodes.sh
- -service=$(PXC_SERVICE)
env:
- name: PXC_SERVICE
Expand Down Expand Up @@ -125,9 +135,12 @@ spec:
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/percona
name: bin
- args:
- /usr/bin/peer-list
- -on-change=/usr/bin/add_proxysql_nodes.sh
- /opt/percona/peer-list
- -on-change=/opt/percona/proxysql_add_proxysql_nodes.sh
- -service=$(PROXYSQL_SERVICE)
env:
- name: PROXYSQL_SERVICE
Expand Down Expand Up @@ -158,6 +171,9 @@ spec:
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/percona
name: bin
dnsPolicy: ClusterFirst
initContainers:
- command:
Expand All @@ -173,6 +189,19 @@ spec:
volumeMounts:
- mountPath: /var/lib/mysql
name: bin
- command:
- /proxysql-init-entrypoint.sh
imagePullPolicy: Always
name: proxysql-init
resources:
limits:
cpu: 50m
memory: 50M
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/percona
name: bin
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
generation: 2
generation: 1
name: some-name-pxc
ownerReferences:
- controller: true
Expand Down
Loading

0 comments on commit 2176451

Please sign in to comment.