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

Add support for mycnf in mysql-innodbcluster helm chart #7

Closed
wants to merge 1 commit into from

Conversation

verbotenj
Copy link

Tested with helm template

# Source: mysql-innodbcluster/templates/deployment_cluster.yaml
apiVersion: mysql.oracle.com/v2alpha1
kind: InnoDBCluster
metadata:
  name: RELEASE-NAME
  namespace: mysql-cluster
spec:
  instances: 3
  router:
    instances: 1
  secretName: RELEASE-NAME-cluster-secret
  imagePullPolicy : IfNotPresent
  baseServerId: 1000
  version: 8.0.28
  serviceAccountName: RELEASE-NAME-sa
  datadirVolumeClaimTemplate:
    resources:
      requests:
        storage: "1Gi"
  mycnf: |
    [mysqld]
    max_allowed_packet=16M
    character-set-server=UTF8
    collation-server=utf8_general_ci

From mysql container

bash-4.4# cat /etc/my.cnf.d/99-extra.cnf
# Additional user configurations taken from spec.mycnf in InnoDBCluster.
# Do not edit directly.
[mysqld]
max_allowed_packet=16M
character-set-server=utf8mb4
collation-server=utf8mb4_general_ci

@verbotenj verbotenj changed the title Add support for mycnf in mysql-innodbcluster Add support for mycnf in mysql-innodbcluster helm chart Apr 4, 2022
@mysql-oca-bot
Copy link

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at https://oca.opensource.oracle.com/
Please make sure to include your MySQL bug system user (email) in the returned form.
Thanks

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment:
"I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it."
Thanks

@verbotenj
Copy link
Author

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow
bug http://bugs.mysql.com/bug.php?id=107082 for updates.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants