99 project : default
1010 sources :
1111 - repoURL : https://devseed.com/eoapi-k8s/
12- # - repoURL: https://github.com/developmentseed/eoapi-k8s.git
1312 chart : eoapi
14- targetRevision : 0.7.10
15- # targetRevision: "stac.overrideRootPath"
16- # path: charts/eoapi
13+ targetRevision : 0.10.0
1714 helm :
1815 valuesObject :
1916 ingress :
2017 enabled : false
21- # host: "montandon-eoapi-stage .ifrc.org"
18+ # host: "montandon-eoapi.ifrc.org"
2219 # tls:
2320 # enabled: true
2421 # secretName: montandon-eoapi-helm-secret-cert
3128 raster :
3229 enabled : false
3330 stac :
31+ image :
32+ tag : 6.1.2
33+ overrideRootPath : " "
3434 settings :
3535 labels :
3636 azure.workload.identity/use : " true"
@@ -42,16 +42,18 @@ spec:
4242 memory : " 4096Mi"
4343 cpu : " 1000m"
4444 envVars :
45+ ENABLE_TRANSACTIONS_EXTENSIONS : " TRUE"
4546 FORWARDED_ALLOW_IPS : " *"
4647 PROXY_HEADERS : True
47- POSTGRES_USER : postgres
48- POSTGRES_PORT : 5432
49- CORS_HEADERS : ' ["*"]'
50- CORS_METHODS : ' ["GET","OPTIONS"]'
51- CORS_ORIGINS : ' ["http://localhost:8000"]'
52- CORS_CREDENTIALS : " True"
53- # https://stac-utils.github.io/stac-fastapi-pgstac/settings/#application-extension
54- ENABLE_TRANSACTIONS_EXTENSIONS : " TRUE"
48+ CORS_ORIGINS : " https://localhost:3000,https://alerthub.ifrc.org,https://montandon-eoapi.ifrc.org"
49+ CORS_ORIGIN_REGEX : " .*"
50+ CORS_HEADERS : " Accept, Authorization, Content-Type, Origin, X-Requested-With"
51+ CORS_METHODS : " GET,OPTIONS,POST"
52+ CORS_CREDENTIALS : " true"
53+ STAC_FASTAPI_VERSION : " 6.1.2"
54+ STAC_FASTAPI_TITLE : " Montandon STAC API"
55+ STAC_FASTAPI_DESCRIPTION : " Welcome to the [Montandon](https://ifrcgo.org/monty-stac-extension/) STAC API. This API provides the main entry to access the Global Crisis Data Bank, a database that brings in hazard and impact data for current, historical and forecasted disasters around the globe"
56+ STAC_FASTAPI_LANDING_ID : " montandon-eoapi"
5557 extraVolumeMounts :
5658 - name : azure-keyvault-secrets
5759 mountPath : /mnt/secrets-store
@@ -74,27 +76,28 @@ spec:
7476 labels :
7577 azure.workload.identity/use : " true"
7678
77- pgstacBootstrap :
78- enabled : false
79- # image:
80- # name: ghcr.io/stac-utils/pgstac
81- # tag: v0.9.5
82- settings :
83- labels :
84- azure.workload.identity/use : " true"
85- extraEnvVars :
86- POSTGRES_USER : postgres
87- POSTGRES_PORT : 5432
88- # extraEnvFrom:
89- # - secretRef:
90- # name: pgstac-secrets-montandon-eoapi
91- extraVolumes :
92- - name : azure-keyvault-secrets
93- csi :
94- driver : secrets-store.csi.k8s.io
95- readOnly : true
96- volumeAttributes :
97- secretProviderClass : azure-secret-provider-montandon-eoapi
79+ # pgstacBootstrap:
80+ # enabled: true
81+ # settings:
82+ # annotations:
83+ # argocd.argoproj.io/hook: Sync
84+ # # labels:
85+ # # azure.workload.identity/use: "true"
86+ # # extraVolumes:
87+ # # - name: azure-keyvault-secrets
88+ # # csi:
89+ # # driver: secrets-store.csi.k8s.io
90+ # # readOnly: true
91+ # # volumeAttributes:
92+ # # secretProviderClass: azure-secret-provider-montandon-eoapi
93+ # queryables:
94+ # # configMap
95+ # - name: "stac-queryables.json"
96+ # configMapRef:
97+ # name: montandon-eoapi-stac-queryables
98+ # key: stac_queryables.json
99+ # indexFields: ["monty:hazard_codes", "monty:country_codes", "roles"]
100+ # deleteMissing: true
98101 postgresql :
99102 type : " external-secret"
100103 external :
@@ -111,9 +114,19 @@ spec:
111114
112115 postgrescluster :
113116 enabled : false
114-
115- - path : applications/argocd/production/applications/montandon-eoapi/
116- targetRevision : master
117+ # instances:
118+ # - name: eoapi
119+ # replicas: 1
120+ # dataVolumeClaimSpec:
121+ # accessModes:
122+ # - "ReadWriteOnce"
123+ # resources:
124+ # requests:
125+ # storage: "600Gi"
126+ # cpu: "1024m"
127+ # memory: "3048Mi"
128+ - path : applications/argocd/production/applications/montandon-eoapi/internal/
129+ targetRevision : develop
117130 repoURL : https://github.com/IFRCGo/go-deploy.git
118131 - repoURL : https://github.com/developmentseed/stac-auth-proxy.git
119132 targetRevision : v0.9.2
@@ -122,11 +135,13 @@ spec:
122135 valuesObject :
123136 env :
124137 UPSTREAM_URL : " http://montandon-eoapi-stac:8080"
138+ # UPSTREAM_URL: "https://montandon-eoapi.ifrc.org/stac"
125139 OIDC_DISCOVERY_URL : " https://goadmin.ifrc.org/o/.well-known/openid-configuration"
126140 OVERRIDE_HOST : " 0"
141+ ROOT_PATH : " /stac"
127142 ingress :
128143 enabled : " true"
129- host : " montandon-eoapi.ifrc.org" # Decide on URL etc
144+ host : " montandon-eoapi.ifrc.org"
130145 className : " nginx"
131146 tls :
132147 enabled : " true"
0 commit comments