add authentication with zitadel
Some checks failed
Build and Publish / build-release (push) Failing after 1m49s
Some checks failed
Build and Publish / build-release (push) Failing after 1m49s
This commit is contained in:
@@ -72,6 +72,20 @@ controllers:
|
||||
secretKeyRef:
|
||||
name: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}-cluster-pg-app'
|
||||
key: uri
|
||||
|
||||
# Zitadel Configuration
|
||||
ZITADEL_ISSUER:
|
||||
value: "https://zitadel.example.com"
|
||||
ZITADEL_CLIENT_ID:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}-apiapp-client-secret'
|
||||
key: clientId
|
||||
ZITADEL_CLIENT_SECRET:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}-apiapp-client-secret'
|
||||
key: clientSecret
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
@@ -250,3 +264,16 @@ rawResources:
|
||||
schemas:
|
||||
- name: eventstore
|
||||
owner: policy_service
|
||||
|
||||
apiapp:
|
||||
enabled: true
|
||||
apiVersion: zitadel.github.com/v1alpha1
|
||||
kind: APIApp
|
||||
suffix: apiapp
|
||||
spec:
|
||||
spec:
|
||||
projectRef:
|
||||
name: seguros-dev
|
||||
namespace: zitadel-resources-operator
|
||||
apiAppName: policy-service
|
||||
authMethodType: API_AUTH_METHOD_TYPE_BASIC
|
||||
|
||||
Reference in New Issue
Block a user