-
Notifications
You must be signed in to change notification settings - Fork 2
/
mutate.yaml
17 lines (17 loc) · 5.87 KB
/
mutate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
name: nemutator
webhooks:
- name: cubo.local.io
clientConfig:
url: https://cubo.local.io:8765/mutate
caBundle: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcGdJQkFBS0NBUUVBeGNINERFRVdkeGxEb0ZnUTJuQmEwdm53US9hR28zNDFHNEpUUDViYjBLY1pPbE9BCkxTNkxuTW9SZlAzTlhwNlNPK3MyZldZTUtLcUk4NmFOOXpDbVlBUDFYaFY2eWkramlBb3Z6c0ZXaTNSSlRUYkYKdkFkRjRUcVhoeE5WTEQvNEVHVDJzWFR1T3dlNFFGNGRSU1IxMlZIV2xnZk1CZGhGMU10WDMrek56ckxFdTdPegpSSWdkZVpoRUNsVktseXMrTytUSHpuVitqV2huMjRWUUV6SjVWSE9teVZ5NEZNVDB4aWR6YWZDb25GV244OXVnCjNaY1JMTnBhUkczOTArbjcrNVdJUGJQVVBxMGltMklFWVJBSkFGWkRPbXNYbzZnOVo1dks1S3ZoaFk5RWZEcTAKMjNnZWFQTTRrY2VvbVpnTWRuYXYwc2RmK0dkanU2QUo1TzVUUVFJREFRQUJBb0lCQVFDMWdpc2hWRHhDWkRYbAozZTdhRDNYTlh3cGYxczRORWJHODVnbHl2QXhWbm9sUk40TFY5WHEvRmRpbldHdy9CRnhFRXNlWW9TbFh5ZTZaCmM2MnB6RVZvcXpseWVWU1NidGN4N2VlalpXRUI3bUc1TlNTWVNEU2pYUnZuSnA5dVZlaGhZOG5wWnVHaDNKd0kKdUZrMU5SblZ0WCszaE1DR1BOTWJWT2Y2NTJhZTUyYmlJSjVJRFRGMXc0VllubmlKM3hvZGNXV0JWNkgwaEowbgpqak0xRmJGNW5GZVNGeGhqT0dxdWpQcEVzb3NOM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