kubernetes PodSecurityPolicy set to runAsNonRoot, container has runAsNonRoot and image has non-numeric user (appuser), cannot verify user is non-root

Here is the implementation of the verification: case uid == nil && len(username) > 0: return fmt.Errorf(“container has runAsNonRoot and image has non-numeric user (%s), cannot verify user is non-root”, username) And here is the validation call with the comment: // Verify RunAsNonRoot. Non-root verification only supports numeric user. if err := verifyRunAsNonRoot(pod, container, uid, … Read more

Where can I get a list of Kubernetes API resources and subresources?

Using kubectl api-resources -o wide shows all the ressources, verbs and associated API-group. $ kubectl api-resources -o wide NAME SHORTNAMES APIGROUP NAMESPACED KIND VERBS bindings true Binding [create] componentstatuses cs false ComponentStatus [get list] configmaps cm true ConfigMap [create delete deletecollection get list patch update watch] endpoints ep true Endpoints [create delete deletecollection get list … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)