diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 724e775..5e5a96d 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21,4 +21,4 @@ version: 1.0.1 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "V1.0.1" +appVersion: "V1.0.2" diff --git a/chart/templates/pusher.yaml b/chart/templates/pusher.yaml new file mode 100644 index 0000000..7a24383 --- /dev/null +++ b/chart/templates/pusher.yaml @@ -0,0 +1,23 @@ +kind: ConfigMap +apiVersion: v1 +metadata: + name: pusher +data: + online: | + kitex: + service: "pusher" + address: ":8080" + log_level: info + log_file_name: "log/kitex.log" + log_max_size: 10 + log_max_age: 3 + log_max_backups: 50 + + registry: + registry_address: + - 127.0.0.1:2379 + username: "" + password: "" + + db: + dsn: "host={{ .Values.db.host }} user={{ .Values.db.user }} password={{ .Values.db.password }} dbname={{ .Values.db.dbname }} port={{ .Values.db.port }} sslmode=disable TimeZone=Asia/Shanghai" \ No newline at end of file