Skip to content

Commit

Permalink
Add all uwsgi services
Browse files Browse the repository at this point in the history
  • Loading branch information
danduk82 committed Dec 23, 2022
1 parent d8c4b2f commit 6e0cf80
Show file tree
Hide file tree
Showing 8 changed files with 2,357 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
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
8 changes: 8 additions & 0 deletions .gitignore
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/
24 changes: 24 additions & 0 deletions .helmignore
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/
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
templates/**/*.yaml
tests/expected.yaml
22 changes: 22 additions & 0 deletions Chart.yaml
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
15 changes: 15 additions & 0 deletions Makefile
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
Loading

0 comments on commit 6e0cf80

Please sign in to comment.