Skip to content

Commit

Permalink
fix(kumactl) install control-plane tests (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Nikolaev authored Jun 27, 2020
1 parent aecb8aa commit 7ed1830
Show file tree
Hide file tree
Showing 6 changed files with 318 additions and 344 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4436,14 +4436,6 @@ rules:
- update
- patch
- delete
- apiGroups:
- kuma.io
resources:
- healthchecks
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
Expand All @@ -4468,50 +4460,16 @@ rules:
- kuma.io
resources:
- trafficpermissions
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
- trafficlogs
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
- trafficroutes
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
- traffictraces
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
- faultinjections
- circuitbreakers
- healthchecks
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
- circuitbreakers
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand All @@ -4523,7 +4481,7 @@ rules:
resources:
- meshes/finalizers
verbs:
- "*"
- '*'
- apiGroups:
- kuma.io
resources:
Expand All @@ -4539,7 +4497,6 @@ rules:
- list
- watch
- create
# validate k8s token before issueing mTLS cert
- apiGroups:
- authentication.k8s.io
resources:
Expand Down Expand Up @@ -4780,20 +4737,20 @@ spec:
value: "5677"
- name: KUMA_XDS_SERVER_GRPC_PORT
value: "5678"
- name: KUMA_API_SERVER_PORT
value: "5681"
- name: KUMA_BOOTSTRAP_SERVER_PORT
value: "5682"
- name: KUMA_SDS_SERVER_TLS_CERT_FILE
value: /var/run/secrets/kuma.io/kuma-sds/tls-cert/tls.crt
- name: KUMA_SDS_SERVER_TLS_KEY_FILE
value: /var/run/secrets/kuma.io/kuma-sds/tls-cert/tls.key
- name: KUMA_API_SERVER_PORT
value: "5681"
- name: KUMA_API_SERVER_READ_ONLY
value: "true"
- name: KUMA_RUNTIME_KUBERNETES_ADMISSION_SERVER_PORT
value: "5443"
- name: KUMA_RUNTIME_KUBERNETES_ADMISSION_SERVER_CERT_DIR
value: /var/run/secrets/kuma.io/kuma-admission-server/tls-cert
- name: KUMA_API_SERVER_READ_ONLY
value: "true"
- name: KUMA_RUNTIME_KUBERNETES_INJECTOR_CNI_ENABLED
value: "true"
- name: KUMA_RUNTIME_KUBERNETES_INJECTOR_SIDECAR_CONTAINER_IMAGE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4405,14 +4405,6 @@ rules:
- update
- patch
- delete
- apiGroups:
- kuma.io
resources:
- healthchecks
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
Expand All @@ -4437,46 +4429,12 @@ rules:
- kuma.io
resources:
- trafficpermissions
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
- trafficlogs
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
- trafficroutes
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
- traffictraces
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
- faultinjections
verbs:
- get
- list
- watch
- apiGroups:
- kuma.io
resources:
- circuitbreakers
- healthchecks
verbs:
- get
- list
Expand All @@ -4492,7 +4450,7 @@ rules:
resources:
- meshes/finalizers
verbs:
- "*"
- '*'
- apiGroups:
- kuma.io
resources:
Expand Down Expand Up @@ -4634,20 +4592,20 @@ spec:
value: "5677"
- name: KUMA_XDS_SERVER_GRPC_PORT
value: "5678"
- name: KUMA_API_SERVER_PORT
value: "5681"
- name: KUMA_BOOTSTRAP_SERVER_PORT
value: "5682"
- name: KUMA_SDS_SERVER_TLS_CERT_FILE
value: /var/run/secrets/kuma.io/kuma-sds/tls-cert/tls.crt
- name: KUMA_SDS_SERVER_TLS_KEY_FILE
value: /var/run/secrets/kuma.io/kuma-sds/tls-cert/tls.key
- name: KUMA_API_SERVER_PORT
value: "5681"
- name: KUMA_API_SERVER_READ_ONLY
value: "true"
- name: KUMA_RUNTIME_KUBERNETES_ADMISSION_SERVER_PORT
value: "5443"
- name: KUMA_RUNTIME_KUBERNETES_ADMISSION_SERVER_CERT_DIR
value: /var/run/secrets/kuma.io/kuma-admission-server/tls-cert
- name: KUMA_API_SERVER_READ_ONLY
value: "true"
- name: KUMA_RUNTIME_KUBERNETES_INJECTOR_CNI_ENABLED
value: "false"
- name: KUMA_RUNTIME_KUBERNETES_INJECTOR_SIDECAR_CONTAINER_IMAGE
Expand Down
Loading

0 comments on commit 7ed1830

Please sign in to comment.