Skip to content

Commit b309023

Browse files
committed
Merge branch 'release/v2.0-beta-3' into 978-migrate-users
2 parents 909b8f6 + 91ad4e7 commit b309023

File tree

24 files changed

+152
-66
lines changed

24 files changed

+152
-66
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ scripts/keycloak/data/*
5959
# ignore clowder chart deps
6060
deployments/kubernetes/charts/clowder2/charts
6161
deployments/kubernetes/charts/clowder2/*clowder2-software-dev.yaml
62+
*secret*.yaml
6263

6364
# Environments
6465
.env

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,34 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [v2.0.0-beta.3] - 2024-07-29
9+
10+
### Added
11+
12+
- License management
13+
- Release dataset with versions
14+
- Enable and disable user account through Keycloak
15+
- Jupyterhub integration
16+
- Interface for creating and editing matching criteria for triggering extractors
17+
- Interface for editing metadata definitions
18+
- My dataset tab listing all the datasets created by the user
19+
- Drag and drop upload multiple files
20+
- Footer with links to documentation, source code, and contact information
21+
- Documentation through MKDocs
22+
23+
### Changed
24+
25+
- Allow public datasets and files to be searchable
26+
- List all the extractors with the ability to enable/disable the extractors
27+
- Filter listeners based on their support for file or dataset
28+
- Helm chart updated to support custom existing secret
29+
30+
### Fixed
31+
32+
- Clowder registration link on the top bar
33+
- Case-insensitive search
34+
- Download count immediately increments after download
35+
836
## [v2.0.0-beta.2] - 2024-02-16
937

1038
### Added

backend/app/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Settings(BaseSettings):
99
API_V2_STR: str = "/api/v2"
1010
admin_email: str = "[email protected]"
1111
frontend_url: str = "http://localhost:3000"
12-
version: str = "2.0.0-beta.2"
12+
version: str = "2.0.0-beta.3"
1313

1414
# Unique secret for hashing API keys. Generate with `openssl rand -hex 32`
1515
local_auth_secret = "clowder_secret_key"

backend/app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
description="A cloud native data management framework to support any research domain. Clowder was "
8787
"developed to help researchers and scientists in data intensive domains manage raw data, complex "
8888
"metadata, and automatic data pipelines. ",
89-
version="2.0.0-beta.2",
89+
version="2.0.0-beta.3",
9090
contact={"name": "Clowder", "url": "https://clowderframework.org/"},
9191
license_info={
9292
"name": "Apache 2.0",

deployments/kubernetes/charts/clowder2/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ description: >
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 1.9.1
16+
version: 1.9.2
1717

1818
# This is the version number of the application being deployed. This version number should be
1919
# incremented each time you make changes to the application. Versions are not expected to
2020
# follow Semantic Versioning. They should reflect the version the application is using.
2121
# It is recommended to use it with quotes.
22-
appVersion: "2.0.0-beta.2"
22+
appVersion: "2.0.0-beta.3"
2323

2424
# List of people that maintain this helm chart.
2525
maintainers:

deployments/kubernetes/charts/clowder2/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ hostname: { your hostname. E.g. clowder2.software-dev.ncsa.illinois.edu }
1717
frontend:
1818
image:
1919
repository: clowder/clowder2-frontend
20-
tag: 2.0.0-beta.2
20+
tag: 2.0.0-beta.3
2121
pullPolicy: Always
2222

2323
backend:
2424
image:
2525
repository: clowder/clowder2-backend
26-
tag: 2.0.0-beta.2
26+
tag: 2.0.0-beta.3
2727
pullPolicy: Always
2828

2929
geoserver:

deployments/kubernetes/charts/clowder2/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "clowder2.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
1616
echo http://$SERVICE_IP:{{ .Values.frontend.service.port }}
1717
{{- else if contains "ClusterIP" .Values.frontend.service.type }}
18-
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "clowder2.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
18+
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "clowder2.fullname" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
1919
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
2020
echo "Visit http://127.0.0.1:8080 to use your application"
2121
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT

deployments/kubernetes/charts/clowder2/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
4646
Selector labels
4747
*/}}
4848
{{- define "clowder2.selectorLabels" -}}
49-
app.kubernetes.io/name: {{ include "clowder2.name" . }}
49+
app.kubernetes.io/name: {{ include "clowder2.fullname" . }}
5050
app.kubernetes.io/instance: {{ .Release.Name }}
5151
{{- end }}
5252

deployments/kubernetes/charts/clowder2/templates/backend/deployment.yaml

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
{{- end }}
1111
selector:
1212
matchLabels:
13-
app.kubernetes.io/name: {{ include "clowder2.name" . }}-backend
13+
app.kubernetes.io/name: {{ include "clowder2.fullname" . }}-backend
1414
app.kubernetes.io/instance: {{ .Release.Name }}
1515
template:
1616
metadata:
@@ -19,7 +19,7 @@ spec:
1919
{{- toYaml . | nindent 8 }}
2020
{{- end }}
2121
labels:
22-
app.kubernetes.io/name: {{ include "clowder2.name" . }}-backend
22+
app.kubernetes.io/name: {{ include "clowder2.fullname" . }}-backend
2323
app.kubernetes.io/instance: {{ .Release.Name }}
2424
spec:
2525
{{- with .Values.imagePullSecrets }}
@@ -39,25 +39,31 @@ spec:
3939
- name: WEB_CONCURRENCY
4040
value: "1"
4141
- name: MINIO_SERVER_URL
42-
value: {{ include "clowder2.name" . }}-minio:9000
43-
# value: {{ include "clowder2.name" . }}-minio-headless:9000
42+
value: {{ .Values.backend.env.MINIO_SERVER_URL }}
4443
- name: MINIO_EXTERNAL_SERVER_URL
4544
value: minio-api.{{ .Values.hostname }}
4645
- name: MINIO_SECURE
47-
value: "true"
46+
value: {{ .Values.backend.env.MINIO_SECURE | quote }}
4847
- name: MINIO_BUCKET_NAME
49-
value: clowder
48+
value: {{ .Values.backend.env.MINIO_BUCKET_NAME }}
5049
- name: MINIO_ACCESS_KEY
5150
value: {{ .Values.minio.auth.rootUser }}
5251
- name: MINIO_SECRET_KEY
52+
{{- if .Values.backend.existingSecret }}
5353
valueFrom:
5454
secretKeyRef:
55-
name: clowder2-minio
55+
name: {{ .Values.backend.existingSecret }}
56+
key: {{ .Values.backend.existingMinioSecretKey | default "root-password" }}
57+
{{- else }}
58+
valueFrom:
59+
secretKeyRef:
60+
name: {{ include "clowder2.fullname" . }}-minio
5661
key: root-password
62+
{{- end }}
5763
- name: MINIO_UPLOAD_CHUNK_SIZE
58-
value: "10485760"
64+
value: {{ .Values.backend.env.MINIO_UPLOAD_CHUNK_SIZE | quote}}
5965
- name: MONGODB_URL
60-
value: mongodb://{{ include "clowder2.name" . }}-mongodb:27017
66+
value: {{ .Values.backend.env.MONGODB_URL }}
6167
- name: MONGO_DATABASE
6268
value: {{ .Values.mongodb.database }}
6369
- name: CLOWDER2_URL
@@ -73,37 +79,43 @@ spec:
7379
- name: auth_url
7480
value: $(CLOWDER2_URL)/keycloak/realms/clowder/protocol/openid-connect/auth?client_id=clowder2-backend&response_type=code
7581
- name: oauth2_scheme_auth_url
76-
value: http://{{ include "clowder2.name" .}}-keycloak-headless:8080/keycloak/realms/clowder/protocol/openid-connect/auth?client_id=clowder2-backend&response_type=code
82+
value: {{ .Values.backend.env.oauth2_scheme_auth_url }}
7783
- name: auth_register_url
78-
value: $(CLOWDER2_URL)/keycloak/realms/clowder/protocol/openid-connect/registrations?client_id=clowder2-backend&response_type=code&redirect_uri=$(auth_redirect_uri)&scope=openid%20email
84+
value: $(CLOWDER2_URL){{ .Values.backend.env.auth_register_url }}
7985
- name: auth_token_url
80-
value: http://{{ include "clowder2.name" .}}-keycloak-headless:8080/keycloak/realms/clowder/protocol/openid-connect/token
86+
value: {{ .Values.backend.env.auth_token_url }}
8187
- name: auth_server_url
8288
value: $(CLOWDER2_URL)/keycloak/
8389
- name: keycloak_base
8490
value: $(CLOWDER2_URL)/api
8591
- name: frontend_url
8692
value: $(CLOWDER2_URL)
8793
- name: elasticsearch_url
88-
value: http://{{ include "clowder2.name" . }}-elasticsearch:9200
94+
value: {{ .Values.backend.env.elasticsearch_url }}
8995
- name: elasticsearch_no_of_shards
9096
value: "5"
9197
- name: elasticsearch_no_of_replicas
9298
value: "5"
9399
- name: RABBITMQ_USER
94100
value: {{ .Values.rabbitmq.auth.username }}
95101
- name: RABBITMQ_PASS
102+
{{- if .Values.backend.existingSecret }}
103+
valueFrom:
104+
secretKeyRef:
105+
name: {{ .Values.backend.existingSecret }}
106+
key: {{ .Values.backend.existingRabbitMQSecretKey | default "rabbitmq-password" }}
107+
{{- else }}
96108
valueFrom:
97109
secretKeyRef:
98-
name: clowder2-rabbitmq
110+
name: {{ include "clowder2.fullname" . }}-rabbitmq
99111
key: rabbitmq-password
112+
{{- end }}
100113
- name: RABBITMQ_HOST
101-
value: {{ include "clowder2.name" . }}-rabbitmq
114+
value: {{ .Values.backend.env.RABBITMQ_HOST }}
102115
- name: HEARTBEAT_EXCHANGE
103116
value: "extractors"
104117
- name: API_HOST
105-
# value: $(CLOWDER2_URL)
106-
value: http://{{ include "clowder2.name" . }}-backend:{{ .Values.backend.service.port }}
118+
value: {{ .Values.backend.env.API_HOST }}
107119
ports:
108120
- name: http
109121
containerPort: 80

deployments/kubernetes/charts/clowder2/templates/backend/ingress.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ spec:
2121
{{- if .Values.ingress.tls }}
2222
tls:
2323
- hosts:
24-
- {{ .Values.hostname }}
2524
{{- range .Values.ingress.tls }}
2625
{{- range .hosts }}
2726
- {{ . | quote }}

0 commit comments

Comments
 (0)