...

Text file src/github.com/linkerd/linkerd2/cli/cmd/testdata/inject_emojivoto_deployment_capabilities.input.yml

Documentation: github.com/linkerd/linkerd2/cli/cmd/testdata

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  creationTimestamp: null
     5  name: web
     6  namespace: emojivoto
     7spec:
     8  replicas: 1
     9  selector:
    10    matchLabels:
    11      app: web-svc
    12  strategy: {}
    13  template:
    14    metadata:
    15      creationTimestamp: null
    16      labels:
    17        app: web-svc
    18    spec:
    19      containers:
    20      - env:
    21        - name: WEB_PORT
    22          value: "80"
    23        - name: EMOJISVC_HOST
    24          value: emoji-svc.emojivoto:8080
    25        - name: VOTINGSVC_HOST
    26          value: voting-svc.emojivoto:8080
    27        - name: INDEX_BUNDLE
    28          value: dist/index_bundle.js
    29        image: buoyantio/emojivoto-web:v10
    30        name: web-svc
    31        ports:
    32        - containerPort: 80
    33          name: http
    34        securityContext:
    35          allowPrivilegeEscalation: true
    36          capabilities:
    37            add:
    38            - NET_BIND_SERVICE
    39            drop:
    40            - ALL
    41          runAsUser: 33
    42          runAsGroup: 33

View as plain text