Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Partition
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
Partition
Commits
db873084
Commit
db873084
authored
2 years ago
by
Yauheni Rykhter (EPAM)
Committed by
Oleksandr Kosse (EPAM)
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
GONRG-4778: Reconfigure authorization policy for Partition
parent
56c44804
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!229
Merge branch 'dependency-upgrade' into 'master'
,
!168
GONRG-4778: Reconfigure authorization policy for Partition
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
devops/gcp/deploy/templates/partition-authorization-policy.yml
+22
-16
22 additions, 16 deletions
...s/gcp/deploy/templates/partition-authorization-policy.yml
devops/gcp/deploy/values.yaml
+0
-2
0 additions, 2 deletions
devops/gcp/deploy/values.yaml
with
22 additions
and
18 deletions
devops/gcp/deploy/templates/partition-authorization-policy.yml
+
22
−
16
View file @
db873084
...
...
@@ -14,22 +14,27 @@ spec:
{{
- toYaml $spec.matchLabels | nindent 6
}}
action
:
ALLOW
rules
:
{{
- range $rule
:
= $spec.rules
}}
-
from
:
-
source
:
principals
:
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/entitlements-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/search-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/storage-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/register-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/notification-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/indexer-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/indexer-queue-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/schema-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/legal-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/file-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/dataset-k8s
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/legal-k8s
principals
:
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/crs-catalog
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/crs-conversion
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/dataset
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/entitlements
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/file
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/indexer
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/indexer-queue
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/legal
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/notification
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/register
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/schema
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/search
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/seismic-store
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/storage
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/unit
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/well-delivery
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/wks
-
cluster.local/ns/{{ $.Release.Namespace }}/sa/workflow
to
:
-
operation
:
methods
:
...
...
@@ -39,14 +44,15 @@ spec:
-
from
:
-
source
:
principals
:
-
cluster.local/ns/{{ $
rule.bootstrap_n
amespace }}/sa/
workload-gke-
bootstrap-sa
-
cluster.local/ns/{{ $
.Release.N
amespace }}/sa/bootstrap-sa
to
:
-
operation
:
methods
:
-
POST
-
PUT
-
PATCH
-
GET
paths
:
-
/api/partition/v1/*
{{
- end
}}
{{
- end
}}
{{
- end
}}
This diff is collapsed.
Click to expand it.
devops/gcp/deploy/values.yaml
+
0
−
2
View file @
db873084
...
...
@@ -25,5 +25,3 @@ authorizations:
partitionPolicy
:
matchLabels
:
app
:
partition
rules
:
-
bootstrap_namespace
:
config
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