Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 1.58 KB

TODO.org

File metadata and controls

42 lines (37 loc) · 1.58 KB

Finish audit logs implementation

ktbx config file should contain additional tool to install (kind, olm, argocd, …)

ktbx should check that kind is available and install it if not

Mount /tmp inside desk

add unit/CI tests

Add option for audit logs:

https://kind.sigs.k8s.io/docs/user/auditing/

Add DEBUG info

env kubectl get sa -o yaml kubectl get nodes kubectl get pods -A -o wide kubectl get namespaces

add option to install OLM

remove hack to install argoCD: argoproj-labs/argocd-operator#945

adn https://github.com/argoproj-labs/argocd-operator/tree/v0.8.0/deploy

See:

-waitfor() {

  • xtrace=$(set +o|grep xtrace); set +x
  • local ns=${1?namespace is required}; shift
  • local type=${1?type is required}; shift

-

  • echo “Waiting for $type $*”
  • # wait for resource to exist. See: https://github.com/kubernetes/kubernetes/issues/83242
  • until kubectl -n “$ns” get “$type” “$@” -o=jsonpath=’{.items[0].metadata.name}’ >/dev/null 2>&1; do
  • echo “Waiting for $type $*”
  • sleep 1
  • done
  • eval “$xtrace”

-}

And argoproj-labs/argocd-operator#945 https://stackoverflow.com/questions/77684525/preceding-command-with-timeout-to-ensure-pod-creation-before-kubectl-wait?noredirect=1#comment136956724_77684525