Skip to content

Commit e3abe5f

Browse files
committed
feat(mpc-operator-check): add operator-check chart version log and docker image tag list
1 parent b2edc31 commit e3abe5f

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

charts/mpc-operator-check/templates/mpc-operator-check-job.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ spec:
145145
- /bin/sh
146146
- -c
147147
- |
148+
echo "=================================================="
149+
echo "Executing {{ .Chart.Name }}:{{ .Chart.Version }}
148150
echo "=================================================="
149151
{{- .Values.kmsCoreClient.script | nindent 14 }}
150152
if [[ ! $KMS_CORE__THRESHOLD__MY_ID =~ ^-?[0-9]+$ ]]; then

charts/mpc-operator-check/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ kubectl:
5858
echo "Kubernetes namespace check"
5959
kubectl get all
6060
echo "=================================================="
61+
echo "Kubernetes container docker image versions check"
62+
kubectl get pods -o=jsonpath='{range .items[*]}{.metadata.name}{"\t"}{range .spec.containers[*]}{.image}{" "}{end}{"\n"}{end}'
63+
echo "=================================================="
6164
echo "Kubernetes enclave nodes check"
6265
kubectl describe node -l node.kubernetes.io/enclave-enabled=true
6366
postgres:

0 commit comments

Comments
 (0)