-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes 114,150: create a single Helm package for dracon-dev and releva…
…nt make targets This commit unifies the installation of dracon-dev and its dependencies via one single helm package. It installs all necessary dependencies for development such as Elasticsearch, Kibana, Postgres, Mongo and Tekton. Dependencies that need to be installed on a namespace different than the dracon components such as Tekton, Nginx, ElasticOperator and ArangoDB are installed via Make targets. This commit also refactors Make targets introducing `deploy-dracon-dev` which builds and loads dracon container images and installs the helm chart. Last this commit runs the necessary dracon migrations job as a helm post-install hook
- Loading branch information
1 parent
1541753
commit 82771f3
Showing
30 changed files
with
256 additions
and
296 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 |
---|---|---|
|
@@ -6,3 +6,4 @@ bin | |
.custom_image | ||
tests/output | ||
.vscode/ | ||
deploy/dracon/charts |
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 was deleted.
Oops, something went wrong.
Binary file not shown.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,23 @@ | ||
# 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/ |
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,9 @@ | ||
dependencies: | ||
- name: postgresql | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 15.2.5 | ||
- name: mongodb | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 15.1.5 | ||
digest: sha256:f5b463f7862318ed8de9439769a72f14320f271c72c80ec7a2a1f1b209959d7a | ||
generated: "2024-05-02T22:03:05.901032098+03:00" |
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 @@ | ||
apiVersion: v2 | ||
name: dracon | ||
description: A Helm chart for Kubernetes | ||
type: application | ||
version: 0.1.0 | ||
appVersion: 0.1.0 | ||
dependencies: | ||
- name: postgresql | ||
version: 15.2.5 | ||
repository: https://charts.bitnami.com/bitnami | ||
condition: postgres.enabled | ||
- name: mongodb | ||
version: 15.1.5 | ||
repository: https://charts.bitnami.com/bitnami | ||
condition: mongodb.enabled |
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
{{ if .Values.arangodb.enabled }} | ||
apiVersion: database.arangodb.com/v1 | ||
kind: ArangoDeployment | ||
metadata: | ||
name: {{ include "dracon.fullname" . }} | ||
labels: | ||
{{- include "dracon.labels" . | nindent 4 }} | ||
spec: | ||
mode: Single | ||
externalAccess: | ||
type: None | ||
auth: | ||
jwtSecretName: None # Disable auth | ||
image: docker.io/arangodb/arangodb:{{ .Values.arangodb.version }} | ||
{{ end }} |
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,26 @@ | ||
{{ if .Values.arangodb.enabled }} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "dracon.fullname" . }}-arangodb | ||
annotations: | ||
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" | ||
nginx.ingress.kubernetes.io/ssl-passthrough: "false" | ||
labels: | ||
{{- include "dracon.labels" . | nindent 4 }} | ||
spec: | ||
ingressClassName: {{ .Values.arangodb.ingress.className }} | ||
defaultBackend: | ||
service: | ||
name: {{ include "dracon.fullname" . }} | ||
port: | ||
name: server | ||
rules: | ||
- host: {{ .Values.arangodb.ingress.host }} | ||
{{- if .Values.arangodb.ingress.tlsEnabled }} | ||
tls: | ||
- hosts: | ||
- {{ .Values.arangodb.ingress.host }} | ||
secretName: cert-kibana | ||
{{- end }} | ||
{{ end }} |
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
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 @@ | ||
{{ if .Values.kibana.enabled }} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "dracon.fullname" . }}-kb | ||
labels: | ||
{{- include "dracon.labels" . | nindent 4 }} | ||
annotations: | ||
nginx.ingress.kubernetes.io/backend-protocol: "http" | ||
spec: | ||
ingressClassName: {{ .Values.kibana.ingress.className }} | ||
defaultBackend: | ||
service: | ||
name: {{ include "dracon.fullname" . }}-kb-http | ||
port: | ||
name: http | ||
rules: | ||
- host: {{ .Values.kibana.ingress.host }} | ||
{{- if .Values.kibana.ingress.tlsEnabled }} | ||
tls: | ||
- hosts: | ||
- {{ .Values.kibana.ingress.host }} | ||
secretName: cert-kibana | ||
{{- end }} | ||
{{ end }} |
Oops, something went wrong.