...

Text file src/github.com/datawire/ambassador/v2/pkg/api/getambassador.io/v1/testdata/hosts.yaml

Documentation: github.com/datawire/ambassador/v2/pkg/api/getambassador.io/v1/testdata

     1- apiVersion: "getambassador.io/v1"
     2  kind: "Host"
     3  metadata:
     4      creationTimestamp: "2020-07-03T02:19:06Z"
     5      name: "host-base"
     6      namespace: "alt2-namespace"
     7  spec:
     8      acmeProvider:
     9          authority: "none"
    10      hostname: "host-base"
    11  status: {}
    12- apiVersion: "getambassador.io/v1"
    13  kind: "Host"
    14  metadata:
    15      creationTimestamp: "2020-07-03T02:19:06Z"
    16      name: "host-tls-base"
    17      namespace: "alt2-namespace"
    18  spec:
    19      acmeProvider:
    20          authority: "none"
    21      hostname: "host-tls-base"
    22      tls:
    23          ca_secret: "hostcrdclientcertsamenamespace-ca"
    24      tlsSecret:
    25          name: "hostcrdclientcertsamenamespace.server"
    26  status: {}
    27- apiVersion: "getambassador.io/v1"
    28  kind: "Host"
    29  metadata:
    30      creationTimestamp: "2020-07-03T02:19:06Z"
    31      name: "host-tls-ccr-true"
    32      namespace: "alt2-namespace"
    33  spec:
    34      acmeProvider:
    35          authority: "none"
    36      hostname: "host-tls-ccr-true"
    37      tls:
    38          ca_secret: "hostcrdclientcertsamenamespace-ca"
    39          cert_required: true
    40      tlsSecret:
    41          name: "hostcrdclientcertsamenamespace.server"
    42  status:
    43    errorBackoff: 5m0s
    44    errorReason: tlsSecret does not exist
    45    errorTimestamp: "2021-11-29T19:51:04Z"
    46    phaseCompleted: DefaultsFilled
    47    state: Error
    48    tlsCertificateSource: Other
    49- apiVersion: "getambassador.io/v1"
    50  kind: "Host"
    51  metadata:
    52      creationTimestamp: "2020-07-03T02:19:06Z"
    53      name: "host-tls-ccr-true-rcf-set"
    54      namespace: "alt2-namespace"
    55  spec:
    56      acmeProvider:
    57          authority: "none"
    58      hostname: "host-tls-ccr-true-rcf-set"
    59      tls:
    60          ca_secret: "hostcrdclientcertsamenamespace-ca"
    61          cert_required: true
    62          redirect_cleartext_from: 8888
    63      tlsSecret:
    64          name: "hostcrdclientcertsamenamespace.server"
    65  status: {}
    66- apiVersion: "getambassador.io/v1"
    67  kind: "Host"
    68  metadata:
    69      creationTimestamp: "2020-07-03T02:19:06Z"
    70      name: "host-tls-ccr-false-rcf-zero"
    71      namespace: "alt2-namespace"
    72  spec:
    73      acmeProvider:
    74          authority: "none"
    75      hostname: "host-tls-ccr-false-rcf-zero"
    76      tls:
    77          ca_secret: "hostcrdclientcertsamenamespace-ca"
    78          cert_required: false
    79          redirect_cleartext_from: 0
    80      tlsSecret:
    81          name: "hostcrdclientcertsamenamespace.server"
    82  status: {}
    83- apiVersion: "getambassador.io/v1"
    84  kind: "Host"
    85  metadata:
    86      creationTimestamp: "2020-07-03T02:19:06Z"
    87      name: "host-addlport-negative-1"
    88      namespace: "default"
    89  spec:
    90      acmeProvider:
    91          authority: "none"
    92      hostname: "host-addlport-negative-1"
    93      requestPolicy:
    94          insecure:
    95              additionalPort: -1
    96  status: {}
    97- apiVersion: "getambassador.io/v1"
    98  kind: "Host"
    99  metadata:
   100      creationTimestamp: "2020-07-03T02:19:06Z"
   101      name: "host-addlport-8080"
   102      namespace: "default"
   103  spec:
   104      acmeProvider:
   105          authority: "none"
   106      hostname: "host-addlport-8080"
   107      requestPolicy:
   108          insecure:
   109              additionalPort: 8080
   110  status: {}
   111- apiVersion: "getambassador.io/v1"
   112  kind: "Host"
   113  metadata:
   114      creationTimestamp: "2020-07-03T02:19:06Z"
   115      name: "host-addlport-0"
   116      namespace: "default"
   117  spec:
   118      acmeProvider:
   119          authority: "none"
   120      hostname: "host-addlport-0"
   121      requestPolicy:
   122          insecure:
   123              additionalPort: 0
   124  status: {}
   125- apiVersion: "getambassador.io/v1"
   126  kind: "Host"
   127  metadata:
   128      creationTimestamp: "2020-07-03T02:19:06Z"
   129      name: "host-no-addlport"
   130      namespace: "default"
   131  spec:
   132      acmeProvider:
   133          authority: "none"
   134      hostname: "host-no-addlport"
   135      requestPolicy:
   136          insecure:
   137              action: "Route"
   138  status: {}
   139- apiVersion: "getambassador.io/v1"
   140  kind: "Host"
   141  metadata:
   142      creationTimestamp: "2020-07-03T02:19:06Z"
   143      name: "host-no-preview-enabled"
   144      namespace: "default"
   145  spec:
   146      hostname: "host-no-preview-enabled"
   147      previewUrl:
   148          type: "Path"
   149  status: {}
   150- apiVersion: "getambassador.io/v1"
   151  kind: "Host"
   152  metadata:
   153      creationTimestamp: "2020-07-03T02:19:06Z"
   154      name: "host-preview-enabled-false"
   155      namespace: "default"
   156  spec:
   157      hostname: "host-preview-enabled-false"
   158      previewUrl:
   159          enabled: false
   160          type: "Path"
   161  status: {}
   162- apiVersion: "getambassador.io/v1"
   163  kind: "Host"
   164  metadata:
   165      creationTimestamp: "2020-07-03T02:19:06Z"
   166      name: "host-preview-enabled-true"
   167      namespace: "default"
   168  spec:
   169      hostname: "host-preview-enabled-true"
   170      previewUrl:
   171          enabled: true
   172          type: "Path"
   173  status: {}

View as plain text