github.com/verrazzano/verrazzano@v1.7.1/tests/testdata/external-lb/system-external-lb.yaml (about)

     1  # Copyright (c) 2022, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  apiVersion: apps/v1
     5  kind: Deployment
     6  metadata:
     7    labels:
     8      app: system-external-lb
     9    name: system-external-lb
    10    namespace: external-lb
    11  spec:
    12    selector:
    13      matchLabels:
    14        app: system-external-lb
    15    template:
    16      metadata:
    17        labels:
    18          app: system-external-lb
    19      spec:
    20        volumes:
    21          - name: config
    22            configMap:
    23              name: system-external-lb-cm
    24              items:
    25                - key: startup.sh
    26                  path: startup.sh
    27                  mode: 0755
    28                - key: nginx.conf
    29                  path: nginx.conf
    30                  mode: 0744
    31        containers:
    32          - image: ghcr.io/verrazzano/nginx-ingress-controller:1.1.1-20220413170248-b60724ed1
    33            imagePullPolicy: IfNotPresent
    34            name: system-external-lb
    35            command: [ "/config/startup.sh" ]
    36            ports:
    37              - containerPort: 8777
    38            volumeMounts:
    39              - mountPath: /config
    40                name: config