-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: support openshift deployment, dev and prod, configure aws secr…
…et as separate, aws secret sync will be added later
- Loading branch information
Showing
6 changed files
with
11 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#This Dockerfile mounts the certs | ||
Check notice Code scanning / Trivy No HEALTHCHECK defined Low
Artifact: backend-el/Dockerfile.certs
Type: dockerfile Vulnerability DS026 Severity: LOW Message: Add HEALTHCHECK instruction in your Dockerfile Link: DS026 |
||
FROM eclipse-temurin:21 | ||
FROM eclipse-temurin:21-jdk-alpine | ||
|
||
ENV LANG=en_CA.UTF-8 | ||
ENV LANGUAGE=en_CA.UTF-8 | ||
|
@@ -9,10 +9,10 @@ WORKDIR /app | |
RUN apk --no-cache add openssl | ||
|
||
COPY get_certs.sh . | ||
RUN addgroup -S appgroup && adduser -S appuser -G appgroup | ||
USER appuser | ||
|
||
RUN chmod g+w /app && \ | ||
chmod g+x get_certs.sh && \ | ||
chmod g+w ${JAVA_HOME}/lib/security/cacerts | ||
|
||
RUN addgroup -S appgroup && adduser -S appuser -G appgroup | ||
USER appuser | ||
ENTRYPOINT ["sh", "get_certs.sh"] |
7 changes: 2 additions & 5 deletions
7
backend-el/src/main/java/ca/bc/gov/nrs/environment/fta/el/FtaRstExporterApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
secrets: | ||
dbHost: ~ | ||
certSecret: ~ | ||
awsAccessKey: ~ | ||
awsSecretKey: ~ | ||
dbName: ~ | ||
dbPassword: ~ | ||
dbUser: ~ | ||
|