Skip to content

Feat rspy640/cadip mockup s3 data #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 14, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions charts/mockup-station-adgs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ MOCKUP STATION ADGS
| image.version | string | `"01b3b95"` | Image version, can be a tag or a digest |
| initContainers | list | `[]` | Pod initContainers |
| namespace | string | `"processing"` | Namespace for the deployment |
| obs.endpoint | string | `"http://minio.minio.svc.cluster.local:9000"` | URL of the object storage service endpoint |
| obs.region | string | `"sbg"` | Region of the object storage service |
| obs.secret.ak | string | `"TDr8foJqSygBQ9YFmWDy"` | Access Key to authenticate with the object storage service |
| obs.secret.sk | string | `"z2RaqjFttnVZRTsLLqmy4PE6PzJOKzPsE47alDBs"` | Secret Key to authenticate with the object storage service |
| probe.liveness.initialDelaySeconds | int | `0` | InitialDelaySeconds for the liveness probe |
| probe.liveness.path | string | `"/health"` | Path for the liveness probe |
| probe.liveness.periodSeconds | int | `30` | periodSeconds for the liveness probe |
Expand Down
284 changes: 284 additions & 0 deletions charts/mockup-station-adgs/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6563,6 +6563,290 @@ data:
"Value": "2024-01-06T00:00:00.000Z"
}
]
},
{
"Id": "a1c3b98d-49f9-4f4b-bc9f-33d68d8c02cf",
"Name": "S3A_AX___OSF_AX_20160216T192404_99991231T235959_20220330T090651___________________EUM_O_AL_001.SEN3.zip",
"S3_path": "s3://test-data/AUX/S3/S3A_AX___OSF_AX_20160216T192404_99991231T235959_20220330T090651___________________EUM_O_AL_001.SEN3.zip",
"ContentType": "application/octet-stream",
"ContentLength": "3169203",
"OriginDate": "2016-02-16T15:16:47.000Z",
"PublicationDate": "2016-02-16T07:20:58.166Z",
"EvictionDate": "2016-02-16T07:20:58.166Z",
"Checksum": [
{
"Algorithm": "MD5",
"Value": "cFeaFeAe20df52651743FC8CDdba02DB",
"ChecksumDate": "2016-02-16T00:00:00.000Z"
}
],
"ContentDate": {
"Start": "2016-02-16T07:20:58.166Z",
"End": "2016-02-16T07:21:08.166Z"
},
"Attributes": [
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "platformShortName",
"ValueType": "String",
"Value": "SENTINEL-3"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "platformSerialIdentifier",
"ValueType": "String",
"Value": "A"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "productType",
"ValueType": "String",
"Value": "AX___OSF_AX"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "beginningDateTime",
"ValueType": "DateTimeOffset",
"Value": "2016-02-16T07:20:58.166Z"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "endingDateTime",
"ValueType": "DateTimeOffset",
"Value": "2016-02-16T07:21:08.166Z"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "processingCenter",
"ValueType": "String",
"Value": "FOS"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "processorVersion",
"ValueType": "String",
"Value": "3.0"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "processingDate",
"ValueType": "DateTimeOffset",
"Value": "2016-02-16T00:00:00.000Z"
}
]
},
{
"Id": "f3d6e957-7ff2-44e5-a0cf-d7d2e7f3887f",
"Name": "S3A_AX___OSF_AX_20160216T192404_99991231T235959_20240624T085540___________________EUM_O_AL_001.SEN3.zip",
"S3_path": "s3://test-data/AUX/S3/S3A_AX___OSF_AX_20160216T192404_99991231T235959_20240624T085540___________________EUM_O_AL_001.SEN3.zip",
"ContentType": "application/octet-stream",
"ContentLength": "3169203",
"OriginDate": "2016-02-16T15:16:47.000Z",
"PublicationDate": "2016-02-16T19:24:04.804Z",
"EvictionDate": "2016-02-16T19:24:04.804Z",
"Checksum": [
{
"Algorithm": "MD5",
"Value": "cFeaFeAe20df52651743FC8CDdba02DB",
"ChecksumDate": "2016-02-16T19:24:04.804Z"
}
],
"ContentDate": {
"Start": "2016-02-16T19:24:04.804Z",
"End": "2016-02-16T19:24:04.804Z"
},
"Attributes": [
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "platformShortName",
"ValueType": "String",
"Value": "SENTINEL-1"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "platformSerialIdentifier",
"ValueType": "String",
"Value": "A"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "productType",
"ValueType": "String",
"Value": "AX___OSF_AX"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "beginningDateTime",
"ValueType": "DateTimeOffset",
"Value": "2016-02-16T19:24:04.804Z"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "endingDateTime",
"ValueType": "DateTimeOffset",
"Value": "2016-02-16T19:24:04.804Z"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "processingCenter",
"ValueType": "String",
"Value": "FOS"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "processorVersion",
"ValueType": "String",
"Value": "3.0"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "processingDate",
"ValueType": "DateTimeOffset",
"Value": "2016-02-16T19:24:04.804Z"
}
]
},
{
"Id": "9bcdfe80-e3c0-4d71-b8f5-013da6d457d3",
"Name": "S3B_AX___OSF_AX_20180425T191855_99991231T235959_20221110T110324___________________EUM_O_AL_001.SEN3.zip",
"S3_path": "s3://test-data/AUX/S3/S3B_AX___OSF_AX_20180425T191855_99991231T235959_20221110T110324___________________EUM_O_AL_001.SEN3.zip",
"ContentType": "application/octet-stream",
"ContentLength": "3169203",
"OriginDate": "2018-04-25T15:20:11.003Z",
"PublicationDate": "2018-04-25T15:20:11.003Z",
"EvictionDate": "2018-04-25T15:20:11.003Z",
"Checksum": [
{
"Algorithm": "MD5",
"Value": "cFeaFeAe20df52651743FC8CDdba02DB",
"ChecksumDate": "2018-04-25T15:20:11.003Z"
}
],
"ContentDate": {
"Start": "2018-04-25T15:20:11.003Z",
"End": "2018-04-25T15:20:11.003Z"
},
"Attributes": [
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "platformShortName",
"ValueType": "String",
"Value": "SENTINEL-1"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "platformSerialIdentifier",
"ValueType": "String",
"Value": "A"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "productType",
"ValueType": "String",
"Value": "AX___OSF_AX"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "beginningDateTime",
"ValueType": "DateTimeOffset",
"Value": "2018-04-25T15:20:11.003Z"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "endingDateTime",
"ValueType": "DateTimeOffset",
"Value": "2018-04-25T15:20:11.003Z"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "processingCenter",
"ValueType": "String",
"Value": "FOS"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "processorVersion",
"ValueType": "String",
"Value": "3.0"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "processingDate",
"ValueType": "DateTimeOffset",
"Value": "2018-04-25T15:20:11.003Z"
}
]
},
{
"Id": "2dcb4eb1-d8cd-49a9-9c62-f831d477f607",
"Name": "S3B_AX___OSF_AX_20180425T191855_99991231T235959_20240507T090659___________________EUM_O_AL_001.SEN3.zip",
"S3_path": "s3://test-data/AUX/S3/S3B_AX___OSF_AX_20180425T191855_99991231T235959_20240507T090659___________________EUM_O_AL_001.SEN3.zip",
"ContentType": "application/octet-stream",
"ContentLength": "3169203",
"OriginDate": "2018-04-25T19:18:55.003Z",
"PublicationDate": "2018-04-25T19:18:55.003Z",
"EvictionDate": "2018-04-25T19:18:55.003Z",
"Checksum": [
{
"Algorithm": "MD5",
"Value": "cFeaFeAe20df52651743FC8CDdba02DB",
"ChecksumDate": "2018-04-25T19:18:55.003Z"
}
],
"ContentDate": {
"Start": "2018-04-25T19:18:55.003Z",
"End": "2018-04-25T19:18:55.003Z"
},
"Attributes": [
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "platformShortName",
"ValueType": "String",
"Value": "SENTINEL-1"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "platformSerialIdentifier",
"ValueType": "String",
"Value": "A"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "productType",
"ValueType": "String",
"Value": "AX___OSF_AX"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "beginningDateTime",
"ValueType": "DateTimeOffset",
"Value": "2018-04-25T19:18:55.003Z"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "endingDateTime",
"ValueType": "DateTimeOffset",
"Value": "2018-04-25T19:18:55.003Z"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "processingCenter",
"ValueType": "String",
"Value": "FOS"
},
{
"@odata.type": "#OData.CSC.StringAttribute",
"Name": "processorVersion",
"ValueType": "String",
"Value": "3.0"
},
{
"@odata.type": "#OData.CSC.DateTimeOffsetAttribute",
"Name": "processingDate",
"ValueType": "DateTimeOffset",
"Value": "2018-04-25T19:18:55.003Z"
}
]
}
]
}
23 changes: 23 additions & 0 deletions charts/mockup-station-adgs/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2024 CS Group
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v1
kind: Secret
metadata:
name: {{ .Release.Name }}-obs
namespace: {{ .Values.namespace }}
type: Opaque
data:
S3_ACCESSKEY: {{ .Values.obs.secret.ak | b64enc | quote }}
S3_SECRETKEY: {{ .Values.obs.secret.sk | b64enc | quote }}
8 changes: 8 additions & 0 deletions charts/mockup-station-adgs/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ spec:
- name: web
protocol: TCP
containerPort: {{ .Values.app.port }}
envFrom:
- secretRef:
name: {{ .Release.Name }}-obs
env:
- name: S3_ENDPOINT
value: {{ .Values.obs.endpoint }}
- name: S3_REGION
value: {{ .Values.obs.region }}
securityContext:
privileged: false
{{ if .Values.probe }}
Expand Down
4 changes: 4 additions & 0 deletions charts/mockup-station-cadip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ MOCKUP STATION CADIP
| image.version | string | `"01b3b95"` | Image version, can be a tag or a digest |
| initContainers | list | `[]` | Pod initContainers |
| namespace | string | `"processing"` | Namespace for the deployment |
| obs.endpoint | string | `"http://minio.minio.svc.cluster.local:9000"` | URL of the object storage service endpoint |
| obs.region | string | `"sbg"` | Region of the object storage service |
| obs.secret.ak | string | `"TDr8foJqSygBQ9YFmWDy"` | Access Key to authenticate with the object storage service |
| obs.secret.sk | string | `"z2RaqjFttnVZRTsLLqmy4PE6PzJOKzPsE47alDBs"` | Secret Key to authenticate with the object storage service |
| probe.liveness.initialDelaySeconds | int | `0` | InitialDelaySeconds for the liveness probe |
| probe.liveness.path | string | `"/health"` | Path for the liveness probe |
| probe.liveness.periodSeconds | int | `30` | periodSeconds for the liveness probe |
Expand Down
Loading