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

make support for mysql dependencies #22

Open
torsteinelv opened this issue Nov 26, 2024 · 2 comments
Open

make support for mysql dependencies #22

torsteinelv opened this issue Nov 26, 2024 · 2 comments

Comments

@torsteinelv
Copy link

Just example,

add to chart:
dependencies:

add to values:
mysql:
enabled: true
auth:
rootPassword: your-root-password
database: itop
username: itop
password: your-password
primary:
persistence:
enabled: true
size: 10Gi

add to templates/deployment.yaml:
env:

  • name: DB_HOST
    value: {{ .Release.Name }}-mysql
  • name: DB_USER
    valueFrom:
    secretKeyRef:
    name: {{ .Release.Name }}-mysql
    key: username
  • name: DB_PASSWORD
    valueFrom:
    secretKeyRef:
    name: {{ .Release.Name }}-mysql
    key: password
  • name: DB_NAME
    value: itop
@Hipska
Copy link
Member

Hipska commented Nov 26, 2024

Good idea, however since Combodo recommends to use MariaDB over MySQL, I would add that as dependency instead. And preferable also the official MariaDB container. PRs are welcome.

@torsteinelv
Copy link
Author

Not sure how to create an pr on this.

we can change to chart.yaml
dependencies:

values:
mysql:
enabled: true
auth:
rootPassword: itop
database: itop
username: itop
password: itop
primary:
persistence:
enabled: true
size: 10Gi

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

No branches or pull requests

2 participants