Skip to content

Commit

Permalink
feat: remove image stream (#73)
Browse files Browse the repository at this point in the history
* fix: result set leak

* feat: remove image streams and add artifactory pull through cache
  • Loading branch information
mishraomp authored May 23, 2024
1 parent 9043530 commit 5297152
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 36 deletions.
4 changes: 2 additions & 2 deletions charts/nr-oracle-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: {{ .Chart.Name }}-init
image: "image-registry.openshift-image-registry.svc:5000/{{.Release.Namespace}}/{{ include "component.name" . }}-init:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "artifacts.developer.gov.bc.ca/github-docker-remote/bcgov/nr-oracle-service/nr-oracle-service-init:{{ .Values.image.tag | default .Chart.Version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
Expand All @@ -53,7 +53,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "image-registry.openshift-image-registry.svc:5000/{{.Release.Namespace}}/{{ include "component.name" . }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "artifacts.developer.gov.bc.ca/github-docker-remote/bcgov/nr-oracle-service/nr-oracle-service:{{ .Values.image.tag | default .Chart.Version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
Expand Down
34 changes: 0 additions & 34 deletions charts/nr-oracle-service/templates/is.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ quarkus.datasource.jdbc.initial-size=${POOL_INITIAL_SIZE:1}
quarkus.datasource.jdbc.max-lifetime=${POOL_MAX_LIFETIME:180000}
quarkus.datasource.jdbc.idle-removal-interval=${POOL_IDLE_TIMEOUT:60000}
quarkus.datasource.jdbc.leak-detection-interval=${POOL_LEAK_DETECTION_INTERVAL:45000}
quarkus.datasource.metrics-enabled=true
quarkus.datasource.jdbc.enable-metrics=true
quarkus.http.port=${HTTP_PORT:3000}
%dev.quarkus.datasource.jdbc.url=jdbc:oracle:thin:@${DB_HOST}:1521/${DB_NAME}
api.key=${API_KEY}
Expand Down

0 comments on commit 5297152

Please sign in to comment.