Skip to content

Commit

Permalink
Reordered dynamic ns test
Browse files Browse the repository at this point in the history
Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>
  • Loading branch information
biswajit-9776 committed Sep 16, 2024
1 parent 0cd2870 commit f3cace5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pss_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ jobs:
echo "Waiting for pods in auth namespace to become ready..."
kubectl wait --for=condition=Ready pods --all --timeout=180s -n auth
- name: Install KF Pipelines
run: ./tests/gh-actions/install_pipelines.sh

- name: Configure profile-controller's manager with PSS restricted label
- name: Configure profile-controller's manager configmap with PSS restricted label

Check failure on line 57 in .github/workflows/pss_test.yaml

View workflow job for this annotation

GitHub Actions / format_YAML_files

57:87 [trailing-spaces] trailing spaces
run: |
CONFIGMAP=$(kubectl get cm -n kubeflow | awk '{print $1}' | grep -e "namespace-labels-data")
kubectl get cm $CONFIGMAP -n kubeflow -o yaml > temporary.yaml
sed -i '/app.kubernetes.io\/part-of: "kubeflow-profile"/{s/.*/&\n pod-security.kubernetes.io\/enforce: "restricted"/}' temporary.yaml
kubectl apply -f temporary.yaml
rm temporary.yaml
- name: Install KF Pipelines
run: ./tests/gh-actions/install_pipelines.sh

- name: Create dynamic user namespace and check for PSS labels present
run: |
kustomize build common/user-namespace/base | kubectl apply -f -
Expand Down

0 comments on commit f3cace5

Please sign in to comment.