Commit 4e4b5ba6 authored by Komal Makkar's avatar Komal Makkar
Browse files

deployment

parent 88d172ab
Pipeline #63723 failed with stages
in 21 minutes and 55 seconds
......@@ -16,12 +16,12 @@
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: notification-sb-jwt-authz
name: notification-jwt-authz
namespace: osdu
spec:
selector:
matchLabels:
app: notification-sb
app: notification
action: DENY
rules:
- from:
......
......@@ -15,17 +15,17 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-sb
name: {{ .Release.Name }}
namespace: osdu
spec:
replicas: {{ .Values.global.replicaCount }}
selector:
matchLabels:
app: {{ .Chart.Name }}-sb
app: {{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Chart.Name }}-sb
app: {{ .Chart.Name }}
aadpodidbinding: osdu-identity
spec:
volumes:
......@@ -36,7 +36,7 @@ spec:
volumeAttributes:
secretProviderClass: azure-keyvault
containers:
- name: {{ .Chart.Name }}-sb
- name: {{ .Chart.Name }}
image: {{ .Values.image.repository }}/{{ .Chart.Name }}-{{ .Values.image.branch }}:{{ .Values.image.tag | default .Chart.AppVersion }}
imagePullPolicy: Always
ports:
......@@ -51,9 +51,9 @@ spec:
readOnly: true
env:
- name: spring_application_name
value: notification-sb-azure
value: notification-azure
- name: LOG_PREFIX
value: "notification-sb"
value: "notification"
- name: server.servlet.contextPath
value: /api/notification/v1
- name: server_port
......
......@@ -24,4 +24,4 @@ spec:
port: 81
targetPort: 81
selector:
app: {{ .Chart.Name }}-sb
\ No newline at end of file
app: {{ .Chart.Name }}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment