Skip to content

Commit

Permalink
Bump iam, jupyter and operator to 1.0.1 (#45)
Browse files Browse the repository at this point in the history
* chore: add datalayer mailer

* mailer: deployment

* chore: template

* chore: bump versions

* fix: test
  • Loading branch information
echarles authored Oct 2, 2024
1 parent d3110d7 commit ba476df
Show file tree
Hide file tree
Showing 30 changed files with 248 additions and 38 deletions.
16 changes: 16 additions & 0 deletions charts/datalayer-ceph-cluster/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[![Datalayer](https://assets.datalayer.tech/datalayer-25.svg)](https://datalayer.io)

{{ template "chart.header" . }}
{{ template "chart.description" . }}

{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}

## Documentation

For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}

{{ template "helm-docs.versionFooter" . }}
16 changes: 5 additions & 11 deletions charts/datalayer-ceph-storage/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
# datalayer-storage
[![Datalayer](https://assets.datalayer.tech/datalayer-25.svg)](https://datalayer.io)

![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)
# datalayer-storage

Datalayer Storage

**Homepage:** <https://datalayer.tech>

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| Datalayer | <[email protected]> | <https://datalayer.io> |
![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)

## Source Code
## Documentation

* <https://github.com/datalayer/helm-charts/tree/main/charts/datalayer-ceph-storage>
For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

## Values

Expand Down
16 changes: 16 additions & 0 deletions charts/datalayer-ceph-storage/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[![Datalayer](https://assets.datalayer.tech/datalayer-25.svg)](https://datalayer.io)

{{ template "chart.header" . }}
{{ template "chart.description" . }}

{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}

## Documentation

For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}

{{ template "helm-docs.versionFooter" . }}
16 changes: 16 additions & 0 deletions charts/datalayer-ceph/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[![Datalayer](https://assets.datalayer.tech/datalayer-25.svg)](https://datalayer.io)

{{ template "chart.header" . }}
{{ template "chart.description" . }}

{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}

## Documentation

For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}

{{ template "helm-docs.versionFooter" . }}
4 changes: 2 additions & 2 deletions charts/datalayer-iam/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: Datalayer IAM
name: datalayer-iam
version: 1.0.0
appVersion: 1.0.0
version: 1.0.1
appVersion: 1.0.1
home: https://datalayer.tech
sources:
- https://github.com/datalayer/helm-charts/tree/main/charts/datalayer-iam
Expand Down
6 changes: 3 additions & 3 deletions charts/datalayer-iam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

Datalayer IAM

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 1.0.1](https://img.shields.io/badge/Version-1.0.1-informational?style=flat-square) ![AppVersion: 1.0.1](https://img.shields.io/badge/AppVersion-1.0.1-informational?style=flat-square)

## Documentation

For full documentation please checkout [Datalayer TECH](https://datalayer.tech/docs/build).
For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

## Values

Expand Down Expand Up @@ -59,7 +59,7 @@ For full documentation please checkout [Datalayer TECH](https://datalayer.tech/d
| iam.envValueFrom.DATALAYER_SOLR_PASSWORD.secretKeyRef.name | string | `"solr-basic-auth"` | |
| iam.envValueFrom.DATALAYER_SOLR_USERNAME.secretKeyRef.key | string | `"username"` | |
| iam.envValueFrom.DATALAYER_SOLR_USERNAME.secretKeyRef.name | string | `"solr-basic-auth"` | |
| iam.image | string | `"datalayer/iam:1.0.0"` | |
| iam.image | string | `"datalayer/iam:1.0.1"` | |
| iam.imagePullPolicy | string | `"Always"` | |
| iam.ingressClass | string | `"datalayer-traefik"` | |
| iam.port | int | `9700` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/datalayer-iam/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## Documentation

For full documentation please checkout [Datalayer TECH](https://datalayer.tech/docs/build).
For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

{{ template "chart.requirementsSection" . }}

Expand Down
2 changes: 1 addition & 1 deletion charts/datalayer-iam/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Your iam server has now been installed, and can be accessed in the following way

1. Connect to the iam CLI pod:

kubectl exec -n {{ .Release.Namespace }} $(kubectl get pod -n {{ .Release.Namespace }} --selector=app={{ template "iam.name" . }} -o jsonpath='{.items...metadata.name}') -- sh
kubectl exec -n {{ .Release.Namespace }} $(kubectl get pod -n {{ .Release.Namespace }} --selector=app={{ template "iam.app-name" . }} -o jsonpath='{.items...metadata.name}') -- sh

2. Connect with HTTP internally, within the kubernetes cluster on:

Expand Down
2 changes: 1 addition & 1 deletion charts/datalayer-iam/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
iam:
image: datalayer/iam:1.0.0
image: datalayer/iam:1.0.1
imagePullPolicy: Always
port: 9700
sidecar:
Expand Down
4 changes: 2 additions & 2 deletions charts/datalayer-jupyter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: Datalayer Jupyter
name: datalayer-jupyter
version: 1.0.0
appVersion: 1.0.0
version: 1.0.1
appVersion: 1.0.1
home: https://datalayer.tech
sources:
- https://github.com/datalayer/helm-charts/tree/main/charts/datalayer-jupyter
Expand Down
6 changes: 3 additions & 3 deletions charts/datalayer-jupyter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

Datalayer Jupyter

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 1.0.1](https://img.shields.io/badge/Version-1.0.1-informational?style=flat-square) ![AppVersion: 1.0.1](https://img.shields.io/badge/AppVersion-1.0.1-informational?style=flat-square)

## Documentation

For full documentation please checkout [Datalayer TECH](https://datalayer.tech/docs/build).
For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

## Values

Expand Down Expand Up @@ -40,7 +40,7 @@ For full documentation please checkout [Datalayer TECH](https://datalayer.tech/d
| jupyter.envValueFrom.DATALAYER_SOLR_PASSWORD.secretKeyRef.name | string | `"solr-basic-auth"` | |
| jupyter.envValueFrom.DATALAYER_SOLR_USERNAME.secretKeyRef.key | string | `"username"` | |
| jupyter.envValueFrom.DATALAYER_SOLR_USERNAME.secretKeyRef.name | string | `"solr-basic-auth"` | |
| jupyter.image | string | `"datalayer/jupyter:1.0.0"` | |
| jupyter.image | string | `"datalayer/jupyter:1.0.1"` | |
| jupyter.imagePullPolicy | string | `"Always"` | |
| jupyter.ingressClass | string | `"datalayer-traefik"` | |
| jupyter.port | int | `9500` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/datalayer-jupyter/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## Documentation

For full documentation please checkout [Datalayer TECH](https://datalayer.tech/docs/build).
For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

{{ template "chart.requirementsSection" . }}

Expand Down
2 changes: 1 addition & 1 deletion charts/datalayer-jupyter/tests/deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ tests:
value: ""
- name: OTEL_SDK_DISABLED
value: "false"
image: datalayer/jupyter:1.0.0
image: datalayer/jupyter:1.0.1
imagePullPolicy: Always
name: jupyter
ports:
Expand Down
2 changes: 1 addition & 1 deletion charts/datalayer-jupyter/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
jupyter:
image: datalayer/jupyter:1.0.0
image: datalayer/jupyter:1.0.1
imagePullPolicy: Always
sidecar:
image: datalayer/whoami:0.0.6
Expand Down
2 changes: 1 addition & 1 deletion charts/datalayer-library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Datalayer Library

## Documentation

For full documentation please checkout [Datalayer TECH](https://datalayer.tech/docs/build).
For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

## Values

Expand Down
2 changes: 1 addition & 1 deletion charts/datalayer-library/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## Documentation

For full documentation please checkout [Datalayer TECH](https://datalayer.tech/docs/build).
For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

{{ template "chart.requirementsSection" . }}

Expand Down
13 changes: 13 additions & 0 deletions charts/datalayer-mailer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
description: Datalayer Mailer
name: datalayer-mailer
version: 0.0.1
appVersion: 0.0.1
home: https://datalayer.tech
sources:
- https://github.com/datalayer/helm-charts/tree/main/charts/datalayer-mailer
icon: https://assets.datalayer.tech/datalayer-square.png
maintainers:
- name: Datalayer
email: [email protected]
url: https://datalayer.io
24 changes: 24 additions & 0 deletions charts/datalayer-mailer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[![Datalayer](https://assets.datalayer.tech/datalayer-25.svg)](https://datalayer.io)

# datalayer-mailer

Datalayer Mailer

![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)

## Documentation

For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| mailer.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].key | string | `"role.datalayer.io/system"` | |
| mailer.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].operator | string | `"In"` | |
| mailer.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].values[0] | string | `"true"` | |
| mailer.image | string | `nil` | |
| mailer.imagePullPolicy | string | `"Always"` | |
| mailer.namespace | string | `"datalayer-system"` | |
| mailer.port | int | `2331` | |

16 changes: 16 additions & 0 deletions charts/datalayer-mailer/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[![Datalayer](https://assets.datalayer.tech/datalayer-25.svg)](https://datalayer.io)

{{ template "chart.header" . }}
{{ template "chart.description" . }}

{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}

## Documentation

For full documentation please checkout [Datalayer Tech](https://datalayer.tech/docs/build).

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}

{{ template "helm-docs.versionFooter" . }}
9 changes: 9 additions & 0 deletions charts/datalayer-mailer/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Your mailer has now been installed, and can be accessed in the following ways:

1. Connect with a shell

kubectl exec -n {{ .Release.Namespace }} $(kubectl get pod -n {{ .Release.Namespace }} --selector=app={{ template "mailer.app-name" . }} -o jsonpath='{.items...metadata.name}') -it -- sh

2. Read the logs

kubectl logs -n {{ .Release.Namespace }} $(kubectl get pod -n {{ .Release.Namespace }} --selector=app={{ template "mailer.app-name" . }} -o jsonpath='{.items...metadata.name}')
29 changes: 29 additions & 0 deletions charts/datalayer-mailer/templates/_helpers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "mailer.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 24 | trimSuffix "-" -}}
{{- end -}}

{{/*
Create a default fully qualified app name.
We truncate at 24 chars because some kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "mailer.fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc 24 | trimSuffix "-" -}}
{{- end -}}

{{/*
Define the name of the client service for mailer.
*/}}
{{- define "mailer.service-name" -}}
{{- printf "%s-%s" (include "mailer.fullname" .) "svc" | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{/*
Define the value for the app label.
*/}}
{{- define "mailer.app-name" -}}
{{- printf "%s" .Chart.Name | replace "datalayer-" "" -}}
{{- end -}}
55 changes: 55 additions & 0 deletions charts/datalayer-mailer/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}
namespace: {{ default .Values.mailer.namespace .Release.Namespace }}
labels:
app: {{ template "mailer.app-name" . }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ template "mailer.app-name" . }}
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
app: {{ template "mailer.app-name" . }}
release: {{ .Release.Name }}
datalayer.io/app: {{ template "mailer.app-name" . }}
spec:
terminationGracePeriodSeconds: 0
{{- with .Values.mailer.affinity }}
affinity: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.mailer.tolerations }}
tolerations: {{- toYaml . | nindent 8 }}
{{- end }}
imagePullSecrets:
- name: reg-creds
containers:
- name: mailer
image: {{ .Values.mailer.image }}
imagePullPolicy: {{ .Values.mailer.imagePullPolicy }}
ports:
- containerPort: {{ .Values.mailer.port }}
protocol: TCP
{{- if or .Values.mailer.env .Values.mailer.envValueFrom }}
env:
{{- range $key, $value := .Values.mailer.envValueFrom }}
- name: {{ $key }}
valueFrom: {{- $value | toYaml | nindent 16 }}
{{- end }}
{{- range $key, $value := .Values.mailer.env }}
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
{{- end }}
{{- with .Values.mailer.resources }}
resources: {{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.mailer.volumeMounts }}
volumeMounts: {{- toYaml . | nindent 12 }}
{{- end }}
14 changes: 14 additions & 0 deletions charts/datalayer-mailer/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
mailer:
image:
imagePullPolicy: Always
port: 2331
namespace: datalayer-system
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: role.datalayer.io/system
operator: In
values:
- "true"
4 changes: 2 additions & 2 deletions charts/datalayer-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: Datalayer Operator
name: datalayer-operator
version: 1.0.0
appVersion: 1.0.0
version: 1.0.1
appVersion: 1.0.1
home: https://datalayer.tech
sources:
- https://github.com/datalayer/helm-charts/tree/main/charts/datalayer-operator
Expand Down
Loading

0 comments on commit ba476df

Please sign in to comment.