Commit e23a84b6 authored by Nikhil Singh[MicroSoft]'s avatar Nikhil Singh[MicroSoft]
Browse files

sb update

parent 0a1c2b7f
Pipeline #61134 passed with stages
in 18 minutes and 36 seconds
......@@ -30,4 +30,4 @@ spec:
to:
- operation:
notPaths: ["/","*/swagger-resources","*/swagger",
"/api/notification/v2/swagger-resources/*","*/swagger-ui.html","*/actuator/health"]
\ No newline at end of file
"/api/notification/v1/swagger-resources/*","*/swagger-ui.html","*/actuator/health"]
\ No newline at end of file
......@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v2
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-sb
......@@ -36,28 +36,28 @@ spec:
volumeAttributes:
secretProviderClass: azure-keyvault
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.image.repository }}/{{ .Chart.Name }}-{{ .Values.image.branch }}:{{ .Values.image.tag | default .Chart.AppVersion }}
- name: {{ .Chart.Name }}-sb
image: {{ .Values.image.repository }}/{{ .Chart.Name }}-sb-{{ .Values.image.branch }}:{{ .Values.image.tag | default .Chart.AppVersion }}
imagePullPolicy: Always
ports:
- containerPort: 80
- containerPort: 84
readinessProbe:
httpGet:
path: /api/notification/v2/swagger-ui.html
port: 80
path: /api/notification/v1/swagger-ui.html
port: 84
volumeMounts:
- name: azure-keyvault
mountPath: "/mnt/azure-keyvault"
readOnly: true
env:
- name: spring_application_name
value: notificationsb-azure
value: notification-sb-azure
- name: LOG_PREFIX
value: "notification"
- name: server.servlet.contextPath
value: /api/notification/v2
value: /api/notification/v1
- name: server_port
value: "80"
value: "84"
- name: notification_spring_logging_level
value: INFO
- name: KEYVAULT_URI
......
......@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: v2
apiVersion: v1
kind: Service
metadata:
name: {{ .Chart.Name }}-sb
......@@ -21,7 +21,7 @@ spec:
type: ClusterIP
ports:
- protocol: TCP
port: 80
targetPort: 80
port: 84
targetPort: 84
selector:
app: {{ .Chart.Name }}-sb
\ 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