Skip to content

Commit

Permalink
Disable Authorino webhooks service (#945)
Browse files Browse the repository at this point in the history
Signed-off-by: Guilherme Cassolato <[email protected]>
  • Loading branch information
guicassolato authored Oct 18, 2024
1 parent d4e205f commit 011bd8b
Showing 1 changed file with 73 additions and 74 deletions.
147 changes: 73 additions & 74 deletions config/dependencies/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,77 +10,76 @@ patchesStrategicMerge:
- limitador/delete-ns.yaml
- dns/delete-ns.yaml

replacements:
- source:
fieldPath: .metadata.namespace
group: cert-manager.io
kind: Certificate
name: authorino-webhook-server-cert
version: v1
targets:
- fieldPaths:
- .metadata.annotations.[cert-manager.io/inject-ca-from]
options:
create: true
delimiter: /
select:
kind: CustomResourceDefinition
name: authconfigs.authorino.kuadrant.io
- source:
fieldPath: .metadata.name
group: cert-manager.io
kind: Certificate
name: authorino-webhook-server-cert
version: v1
targets:
- fieldPaths:
- .metadata.annotations.[cert-manager.io/inject-ca-from]
options:
create: true
delimiter: /
index: 1
select:
kind: CustomResourceDefinition
name: authconfigs.authorino.kuadrant.io
- source:
fieldPath: .metadata.name
kind: Service
name: authorino-webhooks
version: v1
targets:
- fieldPaths:
- .spec.dnsNames.0
- .spec.dnsNames.1
options:
create: true
delimiter: .
select:
group: cert-manager.io
kind: Certificate
name: authorino-webhook-server-cert
version: v1
- source:
fieldPath: .metadata.namespace
kind: Service
name: authorino-webhooks
version: v1
targets:
- fieldPaths:
- .spec.dnsNames.0
- .spec.dnsNames.1
options:
create: true
delimiter: .
index: 1
select:
group: cert-manager.io
kind: Certificate
name: authorino-webhook-server-cert
version: v1
- fieldPaths:
- subjects.0.namespace
select:
group: rbac.authorization.k8s.io
kind: RoleBinding
name: authorino-webhooks-manager

# replacements:
# - source:
# fieldPath: .metadata.namespace
# group: cert-manager.io
# kind: Certificate
# name: authorino-webhook-server-cert
# version: v1
# targets:
# - fieldPaths:
# - .metadata.annotations.[cert-manager.io/inject-ca-from]
# options:
# create: true
# delimiter: /
# select:
# kind: CustomResourceDefinition
# name: authconfigs.authorino.kuadrant.io
# - source:
# fieldPath: .metadata.name
# group: cert-manager.io
# kind: Certificate
# name: authorino-webhook-server-cert
# version: v1
# targets:
# - fieldPaths:
# - .metadata.annotations.[cert-manager.io/inject-ca-from]
# options:
# create: true
# delimiter: /
# index: 1
# select:
# kind: CustomResourceDefinition
# name: authconfigs.authorino.kuadrant.io
# - source:
# fieldPath: .metadata.name
# kind: Service
# name: authorino-webhooks
# version: v1
# targets:
# - fieldPaths:
# - .spec.dnsNames.0
# - .spec.dnsNames.1
# options:
# create: true
# delimiter: .
# select:
# group: cert-manager.io
# kind: Certificate
# name: authorino-webhook-server-cert
# version: v1
# - source:
# fieldPath: .metadata.namespace
# kind: Service
# name: authorino-webhooks
# version: v1
# targets:
# - fieldPaths:
# - .spec.dnsNames.0
# - .spec.dnsNames.1
# options:
# create: true
# delimiter: .
# index: 1
# select:
# group: cert-manager.io
# kind: Certificate
# name: authorino-webhook-server-cert
# version: v1
# - fieldPaths:
# - subjects.0.namespace
# select:
# group: rbac.authorization.k8s.io
# kind: RoleBinding
# name: authorino-webhooks-manager

0 comments on commit 011bd8b

Please sign in to comment.