Skip to content

Instantly share code, notes, and snippets.

@wwitzel3
Last active June 23, 2020 20:48
Show Gist options
  • Select an option

  • Save wwitzel3/80d2bbe5d233d0c847cfc9c7264fe75a to your computer and use it in GitHub Desktop.

Select an option

Save wwitzel3/80d2bbe5d233d0c847cfc9c7264fe75a to your computer and use it in GitHub Desktop.

Revisions

  1. Wayne Witzel III revised this gist Jun 23, 2020. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions httpproxy.condition.yaml
    Original file line number Diff line number Diff line change
    @@ -26,8 +26,7 @@ status:
    loadBalancer:
    ingress:
    - ip: 35.225.173.169

    ---


    ---
    apiVersion: projectcontour.io/v1
  2. Wayne Witzel III created this gist Jun 23, 2020.
    56 changes: 56 additions & 0 deletions httpproxy.condition.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,56 @@
    ---
    apiVersion: projectcontour.io/v1
    kind: HTTPProxy
    metadata:
    annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
    {"apiVersion":"projectcontour.io/v1","kind":"HTTPProxy","metadata":{"annotations":{},"name":"httpbin","namespace":"default"},"spec":{"includes":[{"conditions":[{"prefix":"/httpbin"}],"name":"httpbin","namespace":"wwitzel3"}],"virtualhost":{"fqdn":"sites.octant.dev"}}}
    creationTimestamp: "2020-06-23T20:41:01Z"
    generation: 1
    name: httpbin
    namespace: default
    resourceVersion: "508431"
    selfLink: /apis/projectcontour.io/v1/namespaces/default/httpproxies/httpbin
    uid: 71648a82-3eda-4bd7-bf35-d2e82f643329
    spec:
    includes:
    - conditions:
    - prefix: /httpbin
    name: httpbin
    namespace: wwitzel3
    virtualhost:
    fqdn: sites.octant.dev
    status:
    currentStatus: valid
    description: valid HTTPProxy
    loadBalancer:
    ingress:
    - ip: 35.225.173.169

    ---

    ---
    apiVersion: projectcontour.io/v1
    kind: HTTPProxy
    metadata:
    annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
    {"apiVersion":"projectcontour.io/v1","kind":"HTTPProxy","metadata":{"annotations":{},"name":"httpbin","namespace":"wwitzel3"},"spec":{"routes":[{"services":[{"name":"httpbin","port":8080}]}]}}
    creationTimestamp: "2020-06-23T20:43:52Z"
    generation: 1
    name: httpbin
    namespace: wwitzel3
    resourceVersion: "509531"
    selfLink: /apis/projectcontour.io/v1/namespaces/wwitzel3/httpproxies/httpbin
    uid: 48e3bbae-c9a2-422b-ade4-5cde6b4b33b6
    spec:
    routes:
    - services:
    - name: httpbin
    port: 8080
    status:
    currentStatus: valid
    description: valid HTTPProxy
    loadBalancer:
    ingress:
    - ip: 35.225.173.169