forked from bcgov/NotifyBC
-
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.
Merge pull request #16 from bcgov/feature/descw-2005-final-conversions
DESCW-2005 implementing mongodb updates, and additional updates
- Loading branch information
Showing
9 changed files
with
70 additions
and
51 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# ImageStream api-run | ||
apiVersion: image.openshift.io/v1 | ||
kind: ImageStream | ||
metadata: | ||
annotations: | ||
description: Image for the notify application | ||
labels: | ||
role: app | ||
name: notify-bc | ||
|
||
--- | ||
# BuildConfig api-run | ||
apiVersion: build.openshift.io/v1 | ||
kind: BuildConfig | ||
metadata: | ||
annotations: | ||
description: Image Build for notify bc application | ||
labels: | ||
role: app | ||
name: notify-bc | ||
spec: | ||
failedBuildsHistoryLimit: 1 | ||
successfulBuildsHistoryLimit: 2 | ||
strategy: | ||
dockerStrategy: | ||
from: | ||
kind: DockerImage | ||
name: node:20.9.0-slim | ||
incremental: false | ||
type: Docker | ||
source: | ||
contextDir: ./ | ||
git: | ||
ref: main | ||
uri: https://github.com/bcgov/NotifyBC.git | ||
type: Git | ||
output: | ||
to: | ||
kind: ImageStreamTag | ||
name: notify-bc:latest | ||
resources: | ||
limits: | ||
cpu: "2" | ||
memory: 2Gi | ||
requests: | ||
cpu: "1.5" | ||
memory: 1.5Gi | ||
runPolicy: Serial |
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,36 +1,3 @@ | ||
service: | ||
smtp: | ||
type: ClusterIP | ||
mongodb: | ||
podSecurityContext: | ||
enabled: false | ||
containerSecurityContext: | ||
enabled: true | ||
runAsUser: 1004000000 | ||
runAsNonRoot: true | ||
arbiter: | ||
podSecurityContext: | ||
enabled: false | ||
containerSecurityContext: | ||
enabled: true | ||
runAsUser: 1004000000 | ||
runAsNonRoot: true | ||
redis: | ||
master: | ||
podSecurityContext: | ||
enabled: false | ||
containerSecurityContext: | ||
enabled: true | ||
runAsUser: 1004000000 | ||
replica: | ||
podSecurityContext: | ||
enabled: false | ||
containerSecurityContext: | ||
enabled: true | ||
runAsUser: 1004000000 | ||
sentinel: | ||
podSecurityContext: | ||
enabled: false | ||
containerSecurityContext: | ||
enabled: true | ||
runAsUser: 1004000000 | ||
type: ClusterIP |
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
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