Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "^.secrets.baseline$",
"lines": null
},
"generated_at": "2026-04-10T16:09:14Z",
"generated_at": "2026-04-23T10:54:31Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -870,15 +870,15 @@
"hashed_secret": "8e9e0a058630388dcbb497903ec1a5b03e3781f9",
"is_secret": false,
"is_verified": false,
"line_number": 53,
"line_number": 56,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "055abb8b464ae0ab2bb7e9d2fa150c641fee8334",
"is_secret": false,
"is_verified": false,
"line_number": 58,
"line_number": 61,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down Expand Up @@ -1041,39 +1041,39 @@
"hashed_secret": "66cf0e57ff0c4392b01bfadcd28759c621938a02",
"is_secret": false,
"is_verified": false,
"line_number": 358,
"line_number": 360,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "64955456d46405ff355b3abc0cf74a4ff9bdf283",
"is_secret": false,
"is_verified": false,
"line_number": 361,
"line_number": 363,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "90c3cc8d4eae70f6a1e7c2a9c88a57d5d9623deb",
"is_secret": false,
"is_verified": false,
"line_number": 369,
"line_number": 371,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "8e9e0a058630388dcbb497903ec1a5b03e3781f9",
"is_secret": false,
"is_verified": false,
"line_number": 373,
"line_number": 375,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "055abb8b464ae0ab2bb7e9d2fa150c641fee8334",
"is_secret": false,
"is_verified": false,
"line_number": 377,
"line_number": 379,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down
4 changes: 4 additions & 0 deletions deployment-scripts/template/env.template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export NON_COS_STORAGE_CLASS=
export PVC_ACCESS_MODE=ReadWriteOnce
export PIPELINES_V2_INFERENCE_ROOT_FOLDER_VALUE=

# Terrakit Cache Configuration
export TERRAKIT_CACHE_ENABLED_VALUE=true
export TERRAKIT_CACHE_DIR_VALUE=/data/cache

# Populate buckets with data
export LULC_TILE_ROOT=
export LULC_TILE_SHAPEFILE=
Expand Down
2 changes: 2 additions & 0 deletions deployment-scripts/values-file-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,7 @@ do
-e "s|GEOSERVER_CM_PROXYBASEURL|${GEOSERVER_CM_PROXYBASEURL}|" \
-e "s|geospatial-studio|${CONTAINER_IMAGE_REPOSITORY}|" \
-e "s|PIPELINES_V2_INFERENCE_ROOT_FOLDER_VALUE|${PIPELINES_V2_INFERENCE_ROOT_FOLDER_VALUE}|" \
-e "s|TERRAKIT_CACHE_ENABLED_VALUE|${TERRAKIT_CACHE_ENABLED_VALUE}|" \
-e "s|TERRAKIT_CACHE_DIR_VALUE|${TERRAKIT_CACHE_DIR_VALUE}|" \
${HELM_CHART_NAME}/values.yaml > workspace/$DEPLOYMENT_ENV/values/${HELM_CHART_NAME}/values.yaml
done
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ spec: {{ if hasKey $v "replicas" }}
sleep {{ $.Values.waitForGateway.sleepTime }}
done
echo "Gateway service is ready!"
- name: create-terrakit-cache-dir
image: busybox:latest
imagePullPolicy: {{ $.Values.image.pullPolicy | default $.Values.global.imagePullPolicy }}
command: ['sh', '-c', 'mkdir -p /data/cache && chmod 755 /data/cache && echo "Cache directory created at /data/cache"']
volumeMounts:
- name: test-inference-pvc
mountPath: /data
{{- end }}
containers:
- name: {{ $.Values.namePrefix }}-{{ $v.name }}
Expand Down Expand Up @@ -119,7 +126,7 @@ spec: {{ if hasKey $v "replicas" }}
volumes:
- name: test-inference-pvc
persistentVolumeClaim:
claimName: {{ $.Values.inference_volume.pvc_name }}
claimName: {{ $.Values.storage.pvcName | default $.Values.inference_volume.pvc_name }}
{{- range $p := $v.extra_volumes }}
- name: {{ $p.name }}
persistentVolumeClaim:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ data:
gfmaas_api_key: {{ .Values.gateway.api_key | b64enc }}
geoserver_username: {{ .Values.geoserver.username | b64enc }}
geoserver_password: {{ .Values.geoserver.password | b64enc }}
{{- if .Values.redis.enabled }}
REDIS_URL: {{ include "geospatial-studio.redis.url" . | b64enc | quote }}
{{- end }}

---
{{ if hasKey .Values "nasaEarthBearerToken"}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ gateway:
api_key: studio_api_key
appName: geofm-gateway

redis:
enabled: REDIS_ENABLED

geoserver:
username: geoserver_username
password: geoserver_password
Expand Down Expand Up @@ -154,6 +157,10 @@ processors:
secretKeyRef:
name: nasa-earth-data-secret
key: NASA_EARTH_BEARER_TOKEN
- name: TERRAKIT_CACHE_ENABLED
value: "TERRAKIT_CACHE_ENABLED_VALUE"
- name: TERRAKIT_CACHE_DIR
value: "TERRAKIT_CACHE_DIR_VALUE"
- name: push-to-geoserver
enabled: true
image:
Expand Down
6 changes: 6 additions & 0 deletions geospatial-studio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ geospatial-studio-pipelines:
cluster_url: CLUSTER_URL
environment: ENVIRONMENT_VALUE
log_level: DEBUG
redis:
enalbed: REDIS_ENABLED
inference_volume:
pvc_name: inference-shared-pvc
default_replicas: 1
Expand Down Expand Up @@ -461,6 +463,10 @@ geospatial-studio-pipelines:
secretKeyRef:
name: nasa-earth-data-secret
key: NASA_EARTH_BEARER_TOKEN
- name: TERRAKIT_CACHE_ENABLED
value: "TERRAKIT_CACHE_ENABLED_VALUE"
- name: TERRAKIT_CACHE_DIR
value: "TERRAKIT_CACHE_DIR_VALUE"
- name: push-to-geoserver
enabled: true
image:
Expand Down
Loading