File tree Expand file tree Collapse file tree 4 files changed +21
-12
lines changed Expand file tree Collapse file tree 4 files changed +21
-12
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,18 @@ ARG APP_DESCRIPTION="A web application for managing STAC catalogs"
77ARG REACT_APP_STAC_API="https://earth-search.aws.element84.com/v0"
88ARG REACT_APP_STAC_BROWSER="https://radiantearth.github.io/stac-browser"
99ARG PUBLIC_URL="http://127.0.0.1:8080"
10+ ENV REACT_APP_KEYCLOAK_URL=
11+ ENV REACT_APP_KEYCLOAK_CLIENT_ID=
12+ ENV REACT_APP_KEYCLOAK_REALM=
1013
1114ENV APP_TITLE=${APP_TITLE}
1215ENV APP_DESCRIPTION=${APP_DESCRIPTION}
1316ENV REACT_APP_STAC_API=${REACT_APP_STAC_API}
1417ENV REACT_APP_STAC_BROWSER="${REACT_APP_STAC_BROWSER}/#/external/$(echo ${REACT_APP_STAC_API} | sed 's|^https://||')"
1518ENV PUBLIC_URL=${PUBLIC_URL}
16- ENV REACT_APP_KEYCLOAK_URL=
17- ENV REACT_APP_KEYCLOAK_CLIENT_ID=
18- ENV REACT_APP_KEYCLOAK_REALM=
19+ ENV REACT_APP_KEYCLOAK_URL=${REACT_APP_KEYCLOAK_URL}
20+ ENV REACT_APP_KEYCLOAK_CLIENT_ID=${REACT_APP_KEYCLOAK_CLIENT_ID}
21+ ENV REACT_APP_KEYCLOAK_REALM=${REACT_APP_KEYCLOAK_REALM}
1922
2023# Set the working directory
2124WORKDIR /app
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ apiVersion: v2
88
99name : stac-manager
1010description : Helm chart deployment for web application to update collection and item meta data in STAC catalogs
11- version : " 0.0.7 "
11+ version : " 0.0.8 "
1212sources :
1313- https://github.com/developmentseed/stac-manager
1414
1515type : application
16- appVersion : " 0.0.7 "
16+ appVersion : " 0.0.8 "
1717
1818maintainers :
1919- name : Development Seed. All Rights Reserved.
Original file line number Diff line number Diff line change 4343 env :
4444 - name : REACT_APP_STAC_API
4545 value : {{ .Values.stacApi | required "Please provide a value for stacApi" }}
46- {{ if .Values.publicUrl }}
4746 - name : PUBLIC_URL
4847 value : {{ .Values.publicUrl | required "Please provide a value for publicUrl" }}
48+ {{ if .Values.oidc }}
49+ - name : REACT_APP_KEYCLOAK_URL
50+ value : {{ .Values.oidc.providerUrl | required "Please provide a value for oidc.providerUrl" }}
51+ - name : REACT_APP_KEYCLOAK_CLIENT_ID
52+ value : {{ .Values.oidc.clientId | required "Please provide a value for oidc.clientId" }}
53+ - name : REACT_APP_KEYCLOAK_REALM
54+ value : {{ .Values.oidc.realm | required "Please provide a value for oidc.realm" }}
4955 {{ end }}
5056 livenessProbe :
5157 {{- toYaml .Values.livenessProbe | nindent 12 }}
Original file line number Diff line number Diff line change @@ -43,18 +43,18 @@ livenessProbe:
4343 httpGet :
4444 path : /
4545 port : http
46- initialDelaySeconds : 60
47- timeoutSeconds : 10
48- periodSeconds : 5
46+ initialDelaySeconds : 120
47+ timeoutSeconds : 15
48+ periodSeconds : 10
4949 failureThreshold : 3
5050
5151readinessProbe :
5252 httpGet :
5353 path : /
5454 port : http
55- initialDelaySeconds : 30
56- timeoutSeconds : 10
57- periodSeconds : 5
55+ initialDelaySeconds : 60
56+ timeoutSeconds : 15
57+ periodSeconds : 10
5858 failureThreshold : 3
5959
6060autoscaling :
You can’t perform that action at this time.
0 commit comments