-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
2,357 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
max_line_length = 110 | ||
quote_type = single | ||
|
||
[*.{yaml,md,json,json5,whitesource}] | ||
indent_size = 2 | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*.tar.gz | ||
*.tgz | ||
**/Chart.lock | ||
/charts/ | ||
/tests/*actual.yaml | ||
*/__pycache__/* | ||
.venv/ | ||
/.github/changelog-generator-cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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 | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
|
||
tests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
templates/**/*.yaml | ||
tests/expected.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
apiVersion: v2 | ||
description: A Helm chart for deploying Qgis Web Client services on Kubernetes | ||
name: qwc | ||
version: 0.0.1 | ||
dependencies: | ||
# - name: ingress | ||
# repository: https://camptocamp.github.io/helm-ingress/ | ||
# version: 0.3.0 | ||
# - name: apache | ||
# repository: https://camptocamp.github.io/helm-apache/ | ||
# alias: qgisserver | ||
# version: 0.3.0 | ||
- name: custom-pod | ||
repository: https://camptocamp.github.io/helm-custom-pod/ | ||
alias: qwc | ||
version: 0.4.0 | ||
# - name: custom-pod | ||
# - repository: file://../helm-custom-pod/ | ||
# - version: 0.1.0 | ||
# - alias: qwc | ||
# bitnami postgis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
HELM ?= helm | ||
|
||
gen-expected: | ||
${HELM} template --namespace=default test . > tests/expected.yaml || \ | ||
${HELM} template --debug --namespace=default test . | ||
sed -i 's/[[:blank:]]\+$$//g' tests/expected.yaml | ||
|
||
#start-local: | ||
# k3d cluster delete test-cluster || true | ||
# k3d cluster create test-cluster --no-lb --no-hostip --no-rollback --k3s-server-arg --no-deploy=traefik,servicelb,metrics-server | ||
# ${HELM} install test-pg --set=persistence.enabled=false --set=tls.enabled=true --set=tls.autoGenerated=true --set=postgresqlPassword=mySuperTestingPassword --set=volumePermissions.enabled=true bitnami/postgresql | ||
# c2cciutils-k8s-wait | ||
# ${HELM} install test-redis --set=auth.enabled=false --set=replica.replicaCount=0 --set=master.persistence.enabled=false bitnami/redis | ||
# kubectl run test-pg-postgresql-client --restart=Never --namespace=default --image=docker.io/bitnami/postgresql:11.13.0-debian-10-r60 --env=PGPASSWORD=mySuperTestingPassword --stdin=true --command -- psql --host=test-pg-postgresql --username=postgres --dbname=postgres --port=5432 < tests/db.sql | ||
# kubectl apply -f tests/recommend-expected.yaml |
Oops, something went wrong.