diff --git a/charts/percona-xtradb-cluster-operator/Chart.yaml b/charts/percona-xtradb-cluster-operator/Chart.yaml index 7319b2f..8fd9b51 100644 --- a/charts/percona-xtradb-cluster-operator/Chart.yaml +++ b/charts/percona-xtradb-cluster-operator/Chart.yaml @@ -14,8 +14,8 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 1.9.0 +version: 1.10.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: 1.9.0 +appVersion: 1.10.0 diff --git a/charts/percona-xtradb-cluster-operator/crds/pxc.yml b/charts/percona-xtradb-cluster-operator/crds/pxc.yml index e791c31..1663e15 100644 --- a/charts/percona-xtradb-cluster-operator/crds/pxc.yml +++ b/charts/percona-xtradb-cluster-operator/crds/pxc.yml @@ -369,6 +369,47 @@ spec: statusReplicasPath: .status.pxc.ready labelSelectorPath: .status.pxc.labelSelectorPath - name: v1-9-0 + storage: false + served: true + schema: + openAPIV3Schema: + type: object + properties: + spec: + type: object + x-kubernetes-preserve-unknown-fields: true + status: + type: object + x-kubernetes-preserve-unknown-fields: true + additionalPrinterColumns: + - name: Endpoint + type: string + jsonPath: .status.host + - name: Status + type: string + jsonPath: .status.state + - name: PXC + type: string + description: Ready pxc nodes + jsonPath: .status.pxc.ready + - name: proxysql + type: string + description: Ready proxysql nodes + jsonPath: .status.proxysql.ready + - name: haproxy + type: string + description: Ready haproxy nodes + jsonPath: .status.haproxy.ready + - name: Age + type: date + jsonPath: .metadata.creationTimestamp + subresources: + status: {} + scale: + specReplicasPath: .spec.pxc.size + statusReplicasPath: .status.pxc.ready + labelSelectorPath: .status.pxc.labelSelectorPath + - name: v1-10-0 storage: true served: true schema: diff --git a/charts/percona-xtradb-cluster-operator/templates/03-operator.yml b/charts/percona-xtradb-cluster-operator/templates/03-operator.yml index 9d257bd..a551e07 100644 --- a/charts/percona-xtradb-cluster-operator/templates/03-operator.yml +++ b/charts/percona-xtradb-cluster-operator/templates/03-operator.yml @@ -25,15 +25,13 @@ spec: app.kubernetes.io/part-of: percona-xtradb-cluster-operator {{ .Values.label_name }}: {{ .Values.label_value }} spec: + terminationGracePeriodSeconds: 600 containers: - command: - percona-xtradb-cluster-operator env: - name: WATCH_NAMESPACE - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: metadata.namespace + value: "" - name: POD_NAME valueFrom: fieldRef: @@ -41,8 +39,15 @@ spec: fieldPath: metadata.name - name: OPERATOR_NAME value: percona-xtradb-cluster-operator - image: percona/percona-xtradb-cluster-operator:1.9.0 + image: percona/percona-xtradb-cluster-operator:1.10.0 imagePullPolicy: Always + resources: + limits: + cpu: 200m + memory: 500Mi + requests: + cpu: 100m + memory: 20Mi livenessProbe: failureThreshold: 3 httpGet: @@ -55,3 +60,17 @@ spec: name: metrics protocol: TCP serviceAccountName: percona-xtradb-cluster-operator + +--- +apiVersion: v1 +kind: Service +metadata: + name: percona-xtradb-cluster-operator + labels: + name: percona-xtradb-cluster-operator +spec: + ports: + - port: 443 + targetPort: 9443 + selector: + app.kubernetes.io/name: percona-xtradb-cluster-operator