mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
Added zookeeper chart
This commit is contained in:
@@ -2,3 +2,6 @@
|
||||
*.retry
|
||||
**/private.yaml
|
||||
vault_password
|
||||
# Helm Charts
|
||||
values.yaml
|
||||
charts/
|
||||
|
||||
@@ -1,3 +1,26 @@
|
||||
# Ansible set up playbooks
|
||||
# Cloud configuration
|
||||
|
||||
Contains ansible playbooks and step-by-step instructions for cloud setup.
|
||||
Contains ansible playbooks, step-by-step instructions for cloud setup,
|
||||
and helm charts.
|
||||
|
||||
## Helm charts
|
||||
|
||||
The helm charts use symlinks to utilise a central collection of templates
|
||||
that is used for every chart. The values.yaml is symlinked into the
|
||||
directory of each chart as default_values.yaml. Each chart has
|
||||
an overwrite_values.yaml file which specifies the values for that
|
||||
particular chart and overwrites the values from default_values.yaml.
|
||||
|
||||
Before the chart can be installed locally for testing or is built
|
||||
for publishing, the actual values.yaml for Helm needs to be created
|
||||
(paths are specified from root of repository):
|
||||
|
||||
```shell
|
||||
cd helm/chart/
|
||||
yq '. *= load("overwrite_values.yaml")' default_values.yaml > values.yaml
|
||||
```
|
||||
|
||||
Furthermore, each chart has an environments directory which contains
|
||||
a values file with the name of the environment (e.g. production.yaml).
|
||||
These values are not bundled into the chart on construction but rather
|
||||
supplied when installing the chart.
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*.orig
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
# environment values
|
||||
environments/
|
||||
default_values.yaml
|
||||
overwrite_values.yaml
|
||||
@@ -0,0 +1,6 @@
|
||||
dependencies:
|
||||
- name: template
|
||||
repository: file://../template
|
||||
version: 0.1.4
|
||||
digest: sha256:279dbe36571da1eee759185be5f2993c19ec9288c8b00ff6ab5ca75316888584
|
||||
generated: "2023-08-20T19:41:30.542963+02:00"
|
||||
@@ -0,0 +1,12 @@
|
||||
apiVersion: v2
|
||||
name: zookeeper
|
||||
version: 0.1.2
|
||||
type: application
|
||||
description: Simple Zookeeper chart to get started
|
||||
maintainers:
|
||||
- name: Jim Martens
|
||||
url: https://2martens.de
|
||||
dependencies:
|
||||
- name: template
|
||||
version: 0.1.4
|
||||
repository: file://../template
|
||||
+1
@@ -0,0 +1 @@
|
||||
../template/_values.yaml
|
||||
@@ -0,0 +1,18 @@
|
||||
image:
|
||||
repository: confluentinc/cp-zookeeper
|
||||
tag: latest
|
||||
application:
|
||||
port: 2181
|
||||
isSpring: false
|
||||
tickTime: 2000
|
||||
service:
|
||||
port: 2181
|
||||
livenessProbe:
|
||||
enabled: false
|
||||
readinessProbe:
|
||||
enabled: false
|
||||
environment:
|
||||
- name: ZOOKEEPER_CLIENT_PORT
|
||||
value: "{{ .Values.application.port }}"
|
||||
- name: ZOOKEEPER_TICK_TIME
|
||||
value: "{{ .Values.application.tickTime }}"
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../template/_templates
|
||||
Reference in New Issue
Block a user