Skip to content
Snippets Groups Projects
Commit aa08bb86 authored by Auto GO3-NRG Ticket's avatar Auto GO3-NRG Ticket
Browse files

Auto commit when pipeline succeeds

parents 18c4274a 9858c36e
No related branches found
No related tags found
5 merge requests!98(GONRG-1768) GCP: logging impl,!92Cloud-agnostic module `legal-reference` for Anthos (GONRG-1423),!87Fix gcp unit test,!84Gcp fix sonar comments (GONRG-1366),!82Gcp update core common (GONRG-1211)
......@@ -48,7 +48,7 @@ spec:
cpu: "300m"
readinessProbe:
httpGet:
path: /api/legal/v1/actuator/health
path: /api/legal/v1/swagger-ui.html
port: 80
volumeMounts:
- name: azure-keyvault
......
# Copyright © Microsoft Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: {{ .Chart.Name }}-jwt-authz
namespace: osdu
spec:
selector:
matchLabels:
app: {{ .Chart.Name }}
action: DENY
rules:
- from:
- source:
notRequestPrincipals: ["*"]
to:
- operation:
notPaths: ["/","*/index.html",
"*/v2/api-docs",
"*/configuration/ui","*/configuration/security",
"*/swagger","*/swagger-ui.html","*/swagger-resources",
"*/actuator/health", "*/_ah/readiness_check", "*/_ah/liveness_check",
"/api/{{ .Chart.Name }}/v1/swagger-resources/*",
"/api/{{ .Chart.Name }}/v1/webjars/*"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment