Skip to content

Commit 8223c9d

Browse files
author
Ronen Hilewicz
authored
Merge pull request #42 from aserto-dev/authorizer-auth
Authorizer authorization config
2 parents 1e23919 + 5b28d72 commit 8223c9d

28 files changed

Lines changed: 129 additions & 101 deletions

File tree

charts/aserto-lib/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type: library
2121
# This is the chart version. This version number should be incremented each time you make changes
2222
# to the chart and its templates, including the app version.
2323
# Versions are expected to follow Semantic Versioning (https://semver.org/)
24-
version: 0.2.1
24+
version: 0.2.0
2525

2626
# This is the version number of the application being deployed. This version number should be
2727
# incremented each time you make changes to the application. Versions are not expected to

charts/aserto/Chart.lock

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
11
dependencies:
2+
- name: aserto-lib
3+
repository: file://../aserto-lib
4+
version: 0.2.0
5+
- name: authorizer
6+
repository: file://../authorizer
7+
version: 0.2.0
28
- name: controller
39
repository: file://../controller
410
version: 0.0.1
11+
- name: console
12+
repository: file://../console
13+
version: 0.1.7
514
- name: directory
615
repository: file://../directory
7-
version: 0.2.2
8-
- name: authorizer
9-
repository: file://../authorizer
10-
version: 0.1.10
16+
version: 0.2.0
1117
- name: discovery
1218
repository: file://../discovery
13-
version: 0.1.9
14-
- name: console
15-
repository: file://../console
16-
version: 0.1.8
19+
version: 0.2.0
1720
- name: scim
1821
repository: file://../scim
19-
version: 0.1.7
20-
- name: registry-proxy
21-
repository: file://../registry-proxy
22-
version: 0.1.6
23-
- name: aserto-lib
24-
repository: file://../aserto-lib
25-
version: 0.2.1
26-
- name: multi-tenant-scim
27-
repository: file://../multi-tenant-scim
28-
version: 0.0.1
29-
digest: sha256:dd5cc7966bdbc8c5cb731339a97d2ef3d1764b81e8aa624ea76abdc539824093
30-
generated: "2025-01-24T11:04:50.423851638+02:00"
22+
version: 0.2.0
23+
digest: sha256:eeb8b6b65e31152eadc15ffd86d33a57b36f4c27bdb70f9548b63b147dc6b9d2
24+
generated: "2025-03-28T11:34:16.57247-04:00"

charts/aserto/Chart.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type: application
2121
# This is the chart version. This version number should be incremented each time you make changes
2222
# to the chart and its templates, including the app version.
2323
# Versions are expected to follow Semantic Versioning (https://semver.org/)
24-
version: 0.1.12
24+
version: 0.2.0
2525

2626
# This is the version number of the application being deployed. This version number should be
2727
# incremented each time you make changes to the application. Versions are not expected to
@@ -30,36 +30,36 @@ version: 0.1.12
3030
appVersion: "0.1.0"
3131

3232
dependencies:
33+
- name: aserto-lib
34+
version: 0.2.0
35+
repository: file://../aserto-lib
36+
- name: authorizer
37+
version: 0.2.0
38+
repository: file://../authorizer
39+
condition: authorizer.enabled
3340
- name: controller
3441
version: 0.0.1
3542
repository: file://../controller
43+
- name: console
44+
version: 0.1.7
45+
repository: file://../console
46+
condition: console.enabled
3647
- name: directory
37-
version: 0.2.2
48+
version: 0.2.0
3849
repository: file://../directory
39-
- name: authorizer
40-
version: 0.1.10
41-
repository: file://../authorizer
42-
condition: authorizer.enabled
4350
- name: discovery
44-
version: 0.1.9
51+
version: 0.2.0
4552
repository: file://../discovery
4653
condition: discovery.enabled
47-
- name: console
48-
version: 0.1.8
49-
repository: file://../console
50-
condition: console.enabled
54+
# - name: multi-tenant-scim
55+
# version: 0.0.1
56+
# repository: file://../multi-tenant-scim
57+
# condition: multi-tenant-scim.enabled
58+
# - name: registry-proxy
59+
# version: 0.1.6
60+
# repository: file://../registry-proxy
61+
# condition: registry-proxy.enabled
5162
- name: scim
52-
version: 0.1.7
63+
version: 0.2.0
5364
repository: file://../scim
5465
condition: scim.enabled
55-
- name: registry-proxy
56-
version: 0.1.6
57-
repository: file://../registry-proxy
58-
condition: registry-proxy.enabled
59-
- name: aserto-lib
60-
version: 0.2.1
61-
repository: file://../aserto-lib
62-
- name: multi-tenant-scim
63-
version: 0.0.1
64-
repository: file://../multi-tenant-scim
65-
condition: multi-tenant-scim.enabled

charts/authorizer/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: aserto-lib
33
repository: file://../aserto-lib
4-
version: 0.2.1
5-
digest: sha256:83c950a4ee60c07dbc8e045f6645365ca35eced4f1aa329f51c8e2de1de28f93
6-
generated: "2024-12-17T16:09:37.112996+02:00"
4+
version: 0.2.0
5+
digest: sha256:e847ea16d4c0c170655af988461152ab61eed5372f1639769dd7d198346da272
6+
generated: "2025-03-28T11:27:37.668307-04:00"

charts/authorizer/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ type: application
2121
# This is the chart version. This version number should be incremented each time you make changes
2222
# to the chart and its templates, including the app version.
2323
# Versions are expected to follow Semantic Versioning (https://semver.org/)
24-
version: 0.1.10
24+
version: 0.2.0
2525

2626
# This is the version number of the application being deployed. This version number should be
2727
# incremented each time you make changes to the application. Versions are not expected to
2828
# follow Semantic Versioning. They should reflect the version the application is using.
2929
# It is recommended to use it with quotes.
30-
appVersion: 0.16.0
30+
appVersion: 0.16.1
3131

3232
dependencies:
3333
- name: aserto-lib
34-
version: 0.2.1
34+
version: 0.2.0
3535
repository: file://../aserto-lib

charts/authorizer/templates/config.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,14 @@ stringData:
3838
jwt:
3939
acceptable_time_skew_seconds: {{ .Values.jwtAcceptableTimeSkewSeconds | default "5" }}
4040
41-
auth:
41+
authorization:
42+
enabled: true
43+
ignored_methods:
44+
- /grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo
45+
- /grpc.reflection.v1.ServerReflection/ServerReflectionInfo
46+
- /aserto.authorizer.v2.Authorizer/Info
47+
48+
authentication:
4249
authenticators_enabled:
4350
root_key: true
4451
oidc: true
@@ -58,6 +65,7 @@ stringData:
5865
- methods:
5966
- /grpc.reflection.v1.ServerReflection/ServerReflectionInfo
6067
- /grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo
68+
- /aserto.authorizer.v2.Authorizer/Info
6169
authenticators_enabled:
6270
anonymous: true
6371

charts/console/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: aserto-lib
33
repository: file://../aserto-lib
4-
version: 0.2.1
5-
digest: sha256:83c950a4ee60c07dbc8e045f6645365ca35eced4f1aa329f51c8e2de1de28f93
6-
generated: "2024-12-17T16:09:37.348401+02:00"
4+
version: 0.2.0
5+
digest: sha256:e847ea16d4c0c170655af988461152ab61eed5372f1639769dd7d198346da272
6+
generated: "2025-03-28T11:27:43.142209-04:00"

charts/console/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ type: application
2121
# This is the chart version. This version number should be incremented each time you make changes
2222
# to the chart and its templates, including the app version.
2323
# Versions are expected to follow Semantic Versioning (https://semver.org/)
24-
version: 0.1.8
24+
version: 0.1.7
2525

2626
# This is the version number of the application being deployed. This version number should be
2727
# incremented each time you make changes to the application. Versions are not expected to
2828
# follow Semantic Versioning. They should reflect the version the application is using.
2929
# It is recommended to use it with quotes.
30-
appVersion: 0.2.0
30+
appVersion: 0.2.8
3131

3232
dependencies:
3333
- name: aserto-lib
34-
version: 0.2.1
34+
version: 0.2.0
3535
repository: file://../aserto-lib

charts/console/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ spec:
5555
- name: DS0_TENANT_ID
5656
value: {{ .tenant_id }}
5757
{{- end }}
58-
{{- with include "aserto-lib.controllerKeyEnv" (list . "read") }}
58+
{{- with include "aserto-lib.controllerKeyEnv" (list . "write") }}
5959
- name: DS0_ROOT_KEY
6060
{{- . | nindent 14 }}
6161
{{- end }}

charts/console/templates/service.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ metadata:
44
name: {{ include "console.fullname" . }}
55
labels:
66
{{- include "console.labels" . | nindent 4 }}
7+
8+
{{- with .Values.service.annotations }}
9+
annotations:
10+
{{- toYaml . | nindent 8 }}
11+
{{- end }}
712
spec:
813
type: {{ .Values.service.type }}
914
ports:

0 commit comments

Comments
 (0)