InvalidApplicationUID
How to resolve
apiVersion: apps/v1
kind: Deployment
metadata:
name: deploy-con-sec-uid
app: helloworld
version: v1
spec:
selector:
matchLabels:
app: helloworld
version: v1
template:
metadata:
labels:
app: helloworld
version: v1
runAsUser: 1338
containers:
- name: helloworld
image: docker.io/istio/examples-helloworld-v1
securityContext:
runAsUser: 1338
resources:
requests:
cpu: "100m"
imagePullPolicy: IfNotPresent #Always
- containerPort: 5000