Skip to content

Commit 0ed2003

Browse files
author
Ronen Hilewicz
committed
Add (disabled) authorization config for the authorizer
1 parent 6df3892 commit 0ed2003

3 files changed

Lines changed: 15 additions & 2 deletions

File tree

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: false
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.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ version: 0.1.8
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.1
3131

3232
dependencies:
3333
- name: aserto-lib

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)