Skip to content

Commit

Permalink
[create-pull-request] automated change (#1187)
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
Co-authored-by: openshift-merge-bot[bot] <openshift-merge-bot[bot]@users.noreply.github.com>
  • Loading branch information
1 parent eea72f0 commit 9a4ec51
Show file tree
Hide file tree
Showing 18 changed files with 84 additions and 116 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@

# Source: cluster-api-provider-aws/templates/rbac.authorization.k8s.io_v1_role_capa-leader-elect-role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-aws
name: capa-leader-elect-role
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
rules:
- apiGroups:
- ""
- ''
resources:
- configmaps
verbs:
Expand All @@ -21,15 +19,15 @@ rules:
- patch
- delete
- apiGroups:
- ""
- ''
resources:
- configmaps/status
verbs:
- get
- update
- patch
- apiGroups:
- ""
- ''
resources:
- events
verbs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@

# Source: cluster-api-provider-aws/templates/rbac.authorization.k8s.io_v1_rolebinding_capa-leader-elect-rolebinding.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-aws
name: capa-leader-elect-rolebinding
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: capa-leader-elect-role
subjects:
- kind: ServiceAccount
name: capa-controller-manager
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

# Source: cluster-api-provider-aws/templates/v1_secret_capa-manager-bootstrap-credentials.yaml
apiVersion: v1
data:
credentials: ''
Expand All @@ -8,5 +6,5 @@ metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-aws
name: capa-manager-bootstrap-credentials
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
type: Opaque
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

# Source: cluster-api-provider-aws/templates/rbac.authorization.k8s.io_v1_clusterrole_capa-manager-role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
Expand All @@ -8,7 +6,7 @@ metadata:
name: capa-manager-role
rules:
- apiGroups:
- ""
- ''
resources:
- configmaps
verbs:
Expand All @@ -20,7 +18,7 @@ rules:
- update
- watch
- apiGroups:
- ""
- ''
resources:
- events
verbs:
Expand All @@ -31,15 +29,15 @@ rules:
- update
- watch
- apiGroups:
- ""
- ''
resources:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- ""
- ''
resources:
- secrets
verbs:
Expand Down Expand Up @@ -205,7 +203,7 @@ rules:
- patch
- update
- apiGroups:
- ""
- ''
resources:
- events
verbs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: capa-controller-manager
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@

# Source: cluster-api-provider-aws/templates/v1_service_capa-metrics-service.yaml
apiVersion: v1
kind: Service
metadata:
labels:
cluster.x-k8s.io/provider: infrastructure-aws
name: capa-metrics-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
spec:
ports:
- port: 8080
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

# Source: cluster-api-provider-aws/templates/admissionregistration.k8s.io_v1_mutatingwebhookconfiguration_capa-mutating-webhook-configuration.yaml
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
annotations:
service.beta.openshift.io/inject-cabundle: "true"
service.beta.openshift.io/inject-cabundle: 'true'
labels:
cluster.x-k8s.io/provider: infrastructure-aws
name: capa-mutating-webhook-configuration
Expand All @@ -15,7 +13,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta2-awscluster
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -37,7 +35,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta2-awsclustercontrolleridentity
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -59,7 +57,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta2-awsclusterroleidentity
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -81,7 +79,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta2-awsclusterstaticidentity
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -103,7 +101,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta2-awsclustertemplate
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -125,7 +123,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta2-awsmachine
failurePolicy: Fail
name: mutation.awsmachine.infrastructure.cluster.x-k8s.io
Expand All @@ -146,7 +144,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta2-awsfargateprofile
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -168,7 +166,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta2-awsmachinepool
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -190,7 +188,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta2-awsmanagedmachinepool
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -212,7 +210,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta2-rosamachinepool
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -234,7 +232,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-bootstrap-cluster-x-k8s-io-v1beta2-eksconfig
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -256,7 +254,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-bootstrap-cluster-x-k8s-io-v1beta2-eksconfigtemplate
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -278,7 +276,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-controlplane-cluster-x-k8s-io-v1beta2-awsmanagedcontrolplane
failurePolicy: Fail
matchPolicy: Equivalent
Expand All @@ -300,7 +298,7 @@ webhooks:
clientConfig:
service:
name: capa-webhook-service
namespace: {{ default "capa-system" .Values.global.namespace }}
namespace: '{{ default "capa-system" .Values.global.namespace }}'
path: /mutate-controlplane-cluster-x-k8s-io-v1beta2-rosacontrolplane
failurePolicy: Fail
matchPolicy: Equivalent
Expand Down
Loading

0 comments on commit 9a4ec51

Please sign in to comment.