-
-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Enable opa authorization #652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
maltesander
wants to merge
19
commits into
main
Choose a base branch
from
feat/enable-opa-authorization
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 17 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
4d3dc09
remove obsolete errors
maltesander ca2c9d0
compiling - without tls
maltesander 11dafe1
oparized smoke test working
maltesander af9f8cb
add hive opa example
maltesander 7321b2c
add opa testing to smoke
maltesander 56aa6cd
Merge branch 'main' into feat/enable-opa-authorization
maltesander 5c9c73c
adapted changelog
maltesander 7c7bedf
enable tls
maltesander c8c9f86
add opa-use-tls dimension
maltesander 2fe3b8c
remove left over trino references
maltesander 0cf0465
started docs
maltesander e29a06e
formatting
maltesander e3cf46a
pre commit
maltesander 815a74b
add opa opeartor to test suite
maltesander 32b401c
Update docs/modules/hive/pages/usage-guide/security.adoc
maltesander 01d7bea
add missing docs link
maltesander 5e8b395
review feedback
maltesander 297ad8c
fix broken crd docs url
maltesander 335cc38
regenerate charts
maltesander File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| # helm install postgresql oci://registry-1.docker.io/bitnamicharts/postgresql \ | ||
| # --version 16.5.0 \ | ||
| # --namespace default \ | ||
| # --set image.repository=bitnamilegacy/postgresql \ | ||
| # --set volumePermissions.image.repository=bitnamilegacy/os-shell \ | ||
| # --set metrics.image.repository=bitnamilegacy/postgres-exporter \ | ||
| # --set global.security.allowInsecureImages=true \ | ||
| # --set auth.username=hive \ | ||
| # --set auth.password=hive \ | ||
| # --set auth.database=hive \ | ||
| # --set primary.extendedConfiguration="password_encryption=md5" \ | ||
| # --wait | ||
| --- | ||
| apiVersion: hive.stackable.tech/v1alpha1 | ||
| kind: HiveCluster | ||
| metadata: | ||
| name: hive | ||
| spec: | ||
| image: | ||
| productVersion: 4.1.0 | ||
| pullPolicy: IfNotPresent | ||
| clusterConfig: | ||
| authorization: | ||
| opa: | ||
| configMapName: opa | ||
| package: hms | ||
| database: | ||
| connString: jdbc:postgresql://postgresql:5432/hive | ||
| credentialsSecret: hive-postgresql-credentials | ||
| dbType: postgres | ||
| metastore: | ||
| roleGroups: | ||
| default: | ||
| replicas: 1 | ||
| config: | ||
| resources: | ||
| cpu: | ||
| min: 300m | ||
| max: "2" | ||
| memory: | ||
| limit: 5Gi | ||
| --- | ||
| apiVersion: v1 | ||
| kind: Secret | ||
| metadata: | ||
| name: hive-postgresql-credentials | ||
| type: Opaque | ||
| stringData: | ||
| username: hive | ||
| password: hive | ||
| --- | ||
| apiVersion: opa.stackable.tech/v1alpha1 | ||
| kind: OpaCluster | ||
| metadata: | ||
| name: opa | ||
| spec: | ||
| image: | ||
| productVersion: 1.8.0 | ||
| servers: | ||
| config: | ||
| logging: | ||
| enableVectorAgent: false | ||
| containers: | ||
| opa: | ||
| console: | ||
| level: INFO | ||
| file: | ||
| level: INFO | ||
| loggers: | ||
| decision: | ||
| level: INFO | ||
| roleGroups: | ||
| default: {} | ||
| --- | ||
| apiVersion: v1 | ||
| kind: ConfigMap | ||
| metadata: | ||
| name: hive-opa-bundle | ||
| labels: | ||
| opa.stackable.tech/bundle: "hms" | ||
| data: | ||
| hive.rego: | | ||
| package hms | ||
|
|
||
| database_allow = true | ||
| table_allow = true | ||
| column_allow = true | ||
| partition_allow = true | ||
| user_allow = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| pub mod jvm; | ||
| pub mod opa; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.