...

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

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

     1---
     2apiVersion: v1
     3items:
     4  - apiVersion: apps/v1
     5    kind: Deployment
     6    metadata:
     7      creationTimestamp: null
     8      name: web
     9      namespace: emojivoto
    10    spec:
    11      replicas: 1
    12      selector:
    13        matchLabels:
    14          app: web-svc
    15      strategy: {}
    16      template:
    17        metadata:
    18          creationTimestamp: null
    19          labels:
    20            app: web-svc
    21        spec:
    22          containers:
    23            - env:
    24                - name: WEB_PORT
    25                  value: "80"
    26                - name: EMOJISVC_HOST
    27                  value: emoji-svc.emojivoto:8080
    28                - name: VOTINGSVC_HOST
    29                  value: voting-svc.emojivoto:8080
    30                - name: INDEX_BUNDLE
    31                  value: dist/index_bundle.js
    32              image: buoyantio/emojivoto-web:v10
    33              name: web-svc
    34              ports:
    35                - containerPort: 80
    36                  name: http
    37              resources: {}
    38    status: {}
    39  - apiVersion: apps/v1
    40    kind: Deployment
    41    metadata:
    42      creationTimestamp: null
    43      name: emoji
    44      namespace: emojivoto
    45    spec:
    46      replicas: 1
    47      selector:
    48        matchLabels:
    49          app: emoji-svc
    50      strategy: {}
    51      template:
    52        metadata:
    53          creationTimestamp: null
    54          labels:
    55            app: emoji-svc
    56        spec:
    57          containers:
    58            - env:
    59                - name: GRPC_PORT
    60                  value: "8080"
    61              image: buoyantio/emojivoto-emoji-svc:v10
    62              name: emoji-svc
    63              ports:
    64                - containerPort: 8080
    65                  name: grpc
    66                  protocol: TCP
    67              resources: {}
    68    status: {}
    69  - null
    70  - null
    71kind: List
    72metadata: {}

View as plain text