Skip to content

Commit

Permalink
Merge pull request #24 from Cray-HPE/CASM-2670
Browse files Browse the repository at this point in the history
Fixes CASMPET-5174: replace wait-for-pods with kubectl command
  • Loading branch information
bo-quan authored Nov 22, 2021
2 parents 141d382 + 02190c8 commit ebc564e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion kubernetes/cray-istio-deploy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
version: 1.26.1
version: 1.26.2
name: cray-istio-deploy
description: Creates the IstioOperator instance that deploys the Istio control plane.
keywords:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/cray-istio-deploy/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ rules:
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["pods"]
- apiGroups: ["", "apps"]
resources: ["pods", "deployments"]
verbs: ["get", "list"]
---
kind: ClusterRoleBinding
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/cray-istio-deploy/templates/wait-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ spec:
- '/bin/sh'
args:
- '-c'
- '/usr/local/bin/wait-for-pods istiod'
- 'kubectl rollout status deployment -n istio-system istiod --timeout=15m'
2 changes: 1 addition & 1 deletion kubernetes/cray-istio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
version: 2.4.1
version: 2.4.2
name: cray-istio
description: Cray Istio for cluster service mesh including service gateway/sidecars, monitoring etc.
keywords:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ spec:
- '/bin/sh'
args:
- '-c'
- '/usr/local/bin/wait-for-pods {{ $name }}'
- 'kubectl rollout status deployment -n istio-system {{ $name }} --timeout=15m'
{{- end }}
4 changes: 2 additions & 2 deletions kubernetes/cray-istio/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ kind: ClusterRole
metadata:
name: cray-istio-jobs-role
rules:
- apiGroups: [""]
resources: ["pods"]
- apiGroups: ["", "apps"]
resources: ["pods", "deployments"]
verbs: ["get", "list"]
---
kind: ClusterRoleBinding
Expand Down

0 comments on commit ebc564e

Please sign in to comment.