GithubHelp home page GithubHelp logo

clusterpedia-helm's People

Contributors

27149chen avatar dependabot[bot] avatar gambol99 avatar iceber avatar kubekyrie avatar learner0810 avatar one7live avatar qiuming520 avatar rokkiter avatar rulixu avatar scydas avatar songjoy avatar suning0 avatar wuyingjun-lucky avatar wzshiming avatar ycsk02 avatar yyzxw avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

clusterpedia-helm's Issues

Install failed when using clusterpedia as subchart together with mysql

What happened?

Install failed when using clusterpedia as subchart together with mysql, error is:

NSTALLATION FAILED: template: ys1000/charts/mysql/templates/primary/svc.yaml:11:14: executing "ys1000/charts/mysql/templates/primary/svc.yaml" at <include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" $)>: error calling include: template: ys1000/charts/clusterpedia/charts/common/templates/_labels.tpl:6:27: executing "common.labels.standard" at <include "common.names.name" .>: error calling include: template: ys1000/charts/clusterpedia/charts/common/templates/_names.tpl:6:18: executing "common.names.name" at <.Chart.Name>: nil pointer evaluating interface {}.Name

What did you expect to happen?

install succeeded

How can we reproduce it (as minimally and precisely as possible)?

create a parent chart and add the following subcharts:

dependencies:
- name: mysql
  repository: oci://registry-1.docker.io/bitnamicharts
  version: 9.x.x
  condition: tags.mysql
- name: clusterpedia
  repository: https://clusterpedia-io.github.io/clusterpedia-helm
  version: 1.4.0
  condition: tags.clusterpedia

Anything else we need to know?

No response

when externalStorage.createDatabase=true, apiserver-deployment.yaml init-container SQL syntax error

What happened?


apiserver中init-container 运行失败!日志如下:
kubectl logs -n clusterpedia-system clusterpedia-apiserver-699d9b997c-rf7wx -c ensure-database
mysql: Can't get stat of '/opt/bitnami/mysql/conf/bitnami/my_custom.cnf' (OS errno 2 - No such file or directory)
mysql: [ERROR] Stopped processing the 'include' directive in file /opt/bitnami/mysql/conf/my.cnf at line 30.
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{database}' at line 1
waiting for database check

检查apiserver-deployment.yaml中init-container. command 发现是由于单引号导致${database}没有被转移导致无法引用正确的数据库名称。

What did you expect to happen?

修改apiserver-deployment.yaml 中 init-container. command内容,修改逻辑可以参考clustersynchro-manager-deployment.yaml文件

How can we reproduce it (as minimally and precisely as possible)?

当设置.Values.externalStorage.createDatabase=true时,无法成功运行apiserver。

Anything else we need to know?

No response

DSN supports time.Time

What would you like to be added?

parseTime=true default added to dsn if parseTime=false not specified.

Why is this needed?

An error will occur like this:
image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.