<commit_before>kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: {{ .Chart.Name }}
  labels:
    app: {{ .Chart.Name }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
rules:
- apiGroups: ["applicationconnector.kyma-project.io"]
  resources: ["applications"]
  verbs: ["get", "list", "watch"]
- apiGroups: ["applicationconnector.kyma-project.io"]
  resources: ["applicationmappings"]
  verbs: ["create", "delete", "get", "list", "watch"]
- apiGroups: ["applicationconnector.kyma-project.io"]
  resources: ["eventactivations"]
  verbs: ["get", "create", "delete", "update"]
- apiGroups: [""]
  resources: ["namespaces"]
  # write access is required because namespaces need to be annotated in order to create a knative broker
  verbs: ["get", "list", "watch", "patch", "update"]
- apiGroups: [""]
  resources: ["services"]
  verbs: ["get","create","delete"]
- apiGroups: ["servicecatalog.k8s.io"]
  resources: ["serviceclasses","serviceinstances"]
  verbs: ["get", "list", "watch"]
- apiGroups: ["servicecatalog.k8s.io"]
  resources: ["servicebrokers"]
  verbs: ["get", "create", "delete", "list", "update"]
# subscriptions are created by the application-broker to enable events flowing from a channel to the broker
- apiGroups: ["messaging.knative.dev"]
  resources: ["subscriptions"]
  verbs: ["create", "delete", "list", "update"]
# readonly access to channels is required to create a subscription (channel is part of subscription spec)
- apiGroups: ["messaging.knative.dev"]
  resources: ["channels"]
  verbs: ["list"]
- apiGroups: ["authentication.istio.io"]
  resources: ["policies"]
  verbs: ["create"]<commit_msg>Add missing verb to application-connector ClusterRole (#7333)<commit_after>kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: {{ .Chart.Name }}
  labels:
    app: {{ .Chart.Name }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
rules:
- apiGroups: ["applicationconnector.kyma-project.io"]
  resources: ["applications"]
  verbs: ["get", "list", "watch"]
- apiGroups: ["applicationconnector.kyma-project.io"]
  resources: ["applicationmappings"]
  verbs: ["create", "delete", "get", "list", "watch"]
- apiGroups: ["applicationconnector.kyma-project.io"]
  resources: ["eventactivations"]
  verbs: ["get", "create", "delete", "update"]
- apiGroups: [""]
  resources: ["namespaces"]
  # write access is required because namespaces need to be annotated in order to create a knative broker
  verbs: ["get", "list", "watch", "patch", "update"]
- apiGroups: [""]
  resources: ["services"]
  verbs: ["get","create","delete"]
- apiGroups: ["servicecatalog.k8s.io"]
  resources: ["serviceclasses","serviceinstances"]
  verbs: ["get", "list", "watch"]
- apiGroups: ["servicecatalog.k8s.io"]
  resources: ["servicebrokers"]
  verbs: ["get", "create", "delete", "list", "update"]
# subscriptions are created by the application-broker to enable events flowing from a channel to the broker
- apiGroups: ["messaging.knative.dev"]
  resources: ["subscriptions"]
  verbs: ["create", "delete", "list", "update"]
# readonly access to channels is required to create a subscription (channel is part of subscription spec)
- apiGroups: ["messaging.knative.dev"]
  resources: ["channels"]
  verbs: ["list"]
# Istio policies for authorization and authentication
- apiGroups: ["authentication.istio.io"]
  resources: ["policies"]
  verbs: ["create","update"]
{'fraction_non_alphanumeric': 0.18156346315494537, 'fraction_numerical': 0.003922667413841412, 'mean_word_length': 5.1871750433275565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5567273', 'n_tokens_mistral': 1115, 'n_tokens_neox': 1103, 'n_words': 305}