Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Register
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Register
Commits
0d0c02ff
Commit
0d0c02ff
authored
4 years ago
by
Komal Makkar
Browse files
Options
Downloads
Patches
Plain Diff
added authz yaml
parent
ef981141
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!20
Adding helm charts and Istio config
Pipeline
#13601
failed
4 years ago
Stage: review
Pipeline: Register
#13605
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
devops/azure/README.md
+1
-1
1 addition, 1 deletion
devops/azure/README.md
devops/azure/chart/templates/auth.yaml
+32
-0
32 additions, 0 deletions
devops/azure/chart/templates/auth.yaml
with
33 additions
and
1 deletion
devops/azure/README.md
+
1
−
1
View file @
0d0c02ff
# Pipeline Support Commands
# Pipeline Support Commands
```
bash
```
bash
AZURE_SERVICE
=
"
storage
"
AZURE_SERVICE
=
"
register
"
REPO_BRANCH
=
"master"
REPO_BRANCH
=
"master"
TAG
=
"latest"
TAG
=
"latest"
PARTIAL
=
${
REPO_BRANCH
/\//-
}
PARTIAL
=
${
REPO_BRANCH
/\//-
}
...
...
This diff is collapsed.
Click to expand it.
devops/azure/chart/templates/auth.yaml
0 → 100644
+
32
−
0
View file @
0d0c02ff
# 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
:
register-jwt-auth
namespace
:
osdu
spec
:
selector
:
matchLabels
:
app
:
register
action
:
DENY
rules
:
-
from
:
-
source
:
notRequestPrincipals
:
[
"
*"
]
to
:
-
operation
:
notPaths
:
[
"
/"
,
"
*/swagger-resources"
,
"
*/swagger"
,
"
/api/register/v1/swagger-resources/*"
,
"
*/swagger-ui.html"
,
"
*/actuator/health"
]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment