forked from com-pas/compas-deployment
-
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.
com-pas#190 added deployment structure with helmfile
- Loading branch information
Showing
45 changed files
with
7,077 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
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,6 @@ | ||
# CoMPAS Helm deployment | ||
|
||
## Deploy to specific stage | ||
|
||
export STAGE_NAME=local | ||
helmfile apply --namespace ${STAGE_NAME}--validate -f compas.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,29 @@ | ||
|
||
## Links | ||
|
||
- https://helmfile.readthedocs.io/en/latest/ | ||
- https://kubedeploy.app/examples/helmfile.html#templating-releases | ||
- https://github.com/roboll/helmfile/blob/master/docs/writing-helmfile.md | ||
- https://github.com/roboll/helmfile/tree/master/examples | ||
|
||
|
||
|
||
helm plugin install https://github.com/databus23/helm-diff | ||
|
||
|
||
|
||
https://quarkus.io/guides/config-reference | ||
|
||
|
||
(400) System properties | ||
|
||
(300) Environment variables | ||
|
||
(295) .env file in the current working directory | ||
|
||
(260) Quarkus Application configuration file in $PWD/config/application.properties | ||
|
||
(250) Quarkus Application configuration file application.properties in classpath | ||
|
||
(100) MicroProfile Config configuration file META-INF/microprofile-config.properties in classpath | ||
|
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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,5 @@ | ||
apiVersion: v1 | ||
description: CoMPAS PostgreSQL keycloak helm chart | ||
name: keycloak | ||
version: 0.0.1 | ||
appVersion: "1.0.0" |
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,25 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "service.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "chart-name" -}} | ||
{{- if .Values.fullnameOverride -}} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.nameOverride -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} |
Oops, something went wrong.