@@ -8,25 +8,48 @@ metadata:
88spec :
99 project : default
1010 sources :
11+
1112 - repoURL : https://devseed.com/eoapi-k8s/
1213 chart : eoapi
13- targetRevision : 0.10.0
14+ targetRevision : 0.11.2
1415 helm :
16+ valueFiles :
17+ - values/argocd.yaml
1518 valuesObject :
16- ingress :
19+ postgrescluster :
20+ # Using azure databae
21+ enabled : false
22+ vector :
1723 enabled : false
18- # host: "montandon-eoapi.ifrc.org"
19- # tls:
20- # enabled: true
21- # secretName: montandon-eoapi-helm-secret-cert
22- # annotations:
23- # # increase the max body size to 100MB
24- # nginx.ingress.kubernetes.io/proxy-body-size: "100m"
25- # nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
26- # nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
27- # nginx.ingress.kubernetes.io/proxy-connect-timeout: "600"
2824 raster :
2925 enabled : false
26+ ingress :
27+ # Using stac-auth-proxy
28+ enabled : false
29+
30+ serviceAccount :
31+ create : true
32+ automount : true
33+ annotations :
34+ azure.workload.identity/client-id : " 8bf208ec-d73c-42d1-a4a9-817d2936a883"
35+ labels :
36+ azure.workload.identity/use : " true"
37+
38+ postgresql :
39+ type : " external-secret"
40+ external :
41+ existingSecret :
42+ # Defined here: internal/montandon-eoapi-spc.yaml
43+ name : pgstac-secrets-montandon-eoapi
44+ keys :
45+ username : " DB_USER"
46+ password : " DB_PASSWORD"
47+ # Optional: if these are provided in the secret
48+ # Note: These values override external.host, external.port and external.database if defined
49+ host : " DB_HOST"
50+ database : " DB_NAME"
51+ port : " DB_PORT"
52+
3053 stac :
3154 image :
3255 tag : 6.1.2
@@ -59,86 +82,60 @@ spec:
5982 mountPath : /mnt/secrets-store
6083 readOnly : true
6184 extraVolumes :
85+ # Not required for eoAPI, but secrets-store.csi.k8s.io needs at least one pod to mount SecretProviderClass to sync Azure Key Vault with the Kubernetes secret pgstac-secrets-montandon-eoapi
6286 - name : azure-keyvault-secrets
6387 csi :
6488 driver : secrets-store.csi.k8s.io
6589 readOnly : true
6690 volumeAttributes :
6791 secretProviderClass : azure-secret-provider-montandon-eoapi
68- vector :
69- enabled : false
7092
71- serviceAccount :
72- create : true
73- automount : true
74- annotations :
75- azure.workload.identity/client-id : " 8bf208ec-d73c-42d1-a4a9-817d2936a883"
76- labels :
77- azure.workload.identity/use : " true"
78-
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
101- postgresql :
102- type : " external-secret"
103- external :
104- existingSecret :
105- name : pgstac-secrets-montandon-eoapi
106- keys :
107- username : " DB_USER"
108- password : " DB_PASSWORD"
109- # Optional: if these are provided in the secret
110- # Note: These values override external.host, external.port and external.database if defined
111- host : " DB_HOST"
112- database : " DB_NAME"
113- port : " DB_PORT"
93+ pgstacBootstrap :
94+ enabled : true
95+ settings :
96+ loadSamples : false
97+ queryables :
98+ - name : " stac_queryables.json"
99+ indexFields : ["monty:hazard_codes","monty:country_codes","roles"]
100+ deleteMissing : true
101+ configMapRef :
102+ name : montandon-eoapi-stac-queryables
103+ key : stac_queryables.json
114104
115- postgrescluster :
116- enabled : false
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"
128105 - path : applications/argocd/production/applications/montandon-eoapi/internal/
129106 targetRevision : develop
130107 repoURL : https://github.com/IFRCGo/go-deploy.git
108+ helm :
109+ valuesObject :
110+ azure :
111+ clientID : 8bf208ec-d73c-42d1-a4a9-817d2936a883
112+ secretProviderClass :
113+ enabled : true
114+ keyvaultName : montandon-eoapi-producti
115+
131116 - repoURL : https://github.com/developmentseed/stac-auth-proxy.git
132- targetRevision : v0.9.2
117+ targetRevision : v1.0.3
133118 path : helm/
134119 helm :
135120 valuesObject :
121+ # HealthCheck endpoints - https://github.com/developmentseed/stac-auth-proxy/pull/143
122+ startupProbe :
123+ httpGet :
124+ path : /stac/healthz
125+ livenessProbe :
126+ httpGet :
127+ path : /stac/healthz
128+ readinessProbe :
129+ httpGet :
130+ path : /stac/healthz
136131 env :
137132 UPSTREAM_URL : " http://montandon-eoapi-stac:8080"
138133 # UPSTREAM_URL: "https://montandon-eoapi.ifrc.org/stac"
139134 OIDC_DISCOVERY_URL : " https://goadmin.ifrc.org/o/.well-known/openid-configuration"
140135 OVERRIDE_HOST : " 0"
141136 ROOT_PATH : " /stac"
137+ COLLECTIONS_FILTER_CLS : stac_auth_proxy.montandon_filters:CollectionsFilter
138+ ITEMS_FILTER_CLS : stac_auth_proxy.montandon_filters:ItemsFilter
142139 ingress :
143140 enabled : " true"
144141 host : " montandon-eoapi.ifrc.org"
@@ -147,6 +144,15 @@ spec:
147144 enabled : " true"
148145 secretName : " montandon-eoapi-helm-secret-cert"
149146 replicaCount : 1
147+ extraVolumes :
148+ - name : filters
149+ configMap :
150+ name : stac-auth-proxy-filters
151+ extraVolumeMounts :
152+ - name : filters
153+ mountPath : /app/src/stac_auth_proxy/montandon_filters.py
154+ subPath : montandon_filters.py
155+ readOnly : true
150156 destination :
151157 server : https://kubernetes.default.svc
152158 namespace : montandon-eoapi
0 commit comments