...

Text file src/k8s.io/kubernetes/test/e2e/testing-manifests/ingress/pre-shared-cert/rc.yaml

Documentation: k8s.io/kubernetes/test/e2e/testing-manifests/ingress/pre-shared-cert

     1apiVersion: v1
     2kind: ReplicationController
     3metadata:
     4  name: echoheaders-https
     5spec:
     6  replicas: 2
     7  template:
     8    metadata:
     9      labels:
    10        app: echoheaders-https
    11    spec:
    12      containers:
    13      - name: echoheaders-https
    14        image: registry.k8s.io/e2e-test-images/agnhost:2.39
    15        command:
    16        - /agnhost
    17        - netexec
    18        - --http-port=8080
    19        - --tls-cert-file=/localhost.crt
    20        - --tls-private-key-file=/localhost.key
    21        ports:
    22        - containerPort: 8080

View as plain text