From dd392681f1a849b19d42be3f37a019243dbb30a6 Mon Sep 17 00:00:00 2001 From: k8s-ci-robot Date: Tue, 22 Mar 2022 11:24:49 +0000 Subject: [PATCH] Deploy GitHub Pages --- .../external-auth-headers/Makefile | 23 ---- .../{deploy => }/auth-service.yaml | 2 +- .../external-auth-headers/authsvc/Dockerfile | 5 - .../external-auth-headers/authsvc/authsvc.go | 50 --------- .../{deploy => }/echo-service.yaml | 2 +- .../external-auth-headers/echosvc/Dockerfile | 5 - .../external-auth-headers/echosvc/echosvc.go | 32 ------ sitemap.xml | 102 +++++++++--------- sitemap.xml.gz | Bin 710 -> 710 bytes 9 files changed, 53 insertions(+), 168 deletions(-) delete mode 100644 examples/customization/external-auth-headers/Makefile rename examples/customization/external-auth-headers/{deploy => }/auth-service.yaml (90%) delete mode 100644 examples/customization/external-auth-headers/authsvc/Dockerfile delete mode 100644 examples/customization/external-auth-headers/authsvc/authsvc.go rename examples/customization/external-auth-headers/{deploy => }/echo-service.yaml (96%) delete mode 100644 examples/customization/external-auth-headers/echosvc/Dockerfile delete mode 100644 examples/customization/external-auth-headers/echosvc/echosvc.go diff --git a/examples/customization/external-auth-headers/Makefile b/examples/customization/external-auth-headers/Makefile deleted file mode 100644 index 1ee7e06ac..000000000 --- a/examples/customization/external-auth-headers/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -all: push - -TAG=0.1 -PREFIX?=electroma/ingress-demo- -ARCH?=amd64 -GOLANG_VERSION=1.9 -TEMP_DIR:=$(shell mktemp -d) - -build: clean - CGO_ENABLED=0 GOOS=linux GOARCH=$(ARCH) go build -o authsvc/authsvc authsvc/authsvc.go - CGO_ENABLED=0 GOOS=linux GOARCH=$(ARCH) go build -o echosvc/echosvc echosvc/echosvc.go - -container: build - docker build --pull -t $(PREFIX)authsvc-$(ARCH):$(TAG) authsvc - docker build --pull -t $(PREFIX)echosvc-$(ARCH):$(TAG) echosvc - -push: container - docker push $(PREFIX)authsvc-$(ARCH):$(TAG) - docker push $(PREFIX)echosvc-$(ARCH):$(TAG) - -clean: - rm -f authsvc/authsvc echosvc/echosvc - diff --git a/examples/customization/external-auth-headers/deploy/auth-service.yaml b/examples/customization/external-auth-headers/auth-service.yaml similarity index 90% rename from examples/customization/external-auth-headers/deploy/auth-service.yaml rename to examples/customization/external-auth-headers/auth-service.yaml index 3a5dff12c..faa345921 100644 --- a/examples/customization/external-auth-headers/deploy/auth-service.yaml +++ b/examples/customization/external-auth-headers/auth-service.yaml @@ -18,7 +18,7 @@ spec: terminationGracePeriodSeconds: 60 containers: - name: auth-service - image: electroma/ingress-demo-authsvc-amd64:0.1 + image: gcr.io/k8s-staging-ingress-nginx/ext-auth-example-authsvc:v1.0.0 ports: - containerPort: 8080 resources: diff --git a/examples/customization/external-auth-headers/authsvc/Dockerfile b/examples/customization/external-auth-headers/authsvc/Dockerfile deleted file mode 100644 index 90e6ec2cb..000000000 --- a/examples/customization/external-auth-headers/authsvc/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM alpine:3.10 -MAINTAINER Roman Safronov -COPY authsvc / -EXPOSE 8080 -ENTRYPOINT ["/authsvc"] diff --git a/examples/customization/external-auth-headers/authsvc/authsvc.go b/examples/customization/external-auth-headers/authsvc/authsvc.go deleted file mode 100644 index 6453d9401..000000000 --- a/examples/customization/external-auth-headers/authsvc/authsvc.go +++ /dev/null @@ -1,50 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package main - -import ( - "fmt" - "net/http" - "strconv" - "strings" - - "k8s.io/apimachinery/pkg/util/uuid" -) - -// Sample authentication service returning several HTTP headers in response -func main() { - http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { - if strings.ContainsAny(r.Header.Get("User"), "internal") { - w.Header().Add("UserID", fmt.Sprintf("%v", uuid.NewUUID())) - w.Header().Add("UserRole", "admin") - w.Header().Add("Other", "not used") - fmt.Fprint(w, "ok") - } else { - rc := http.StatusForbidden - if c := r.URL.Query().Get("code"); len(c) > 0 { - c, _ := strconv.Atoi(c) - if c > 0 && c < 600 { - rc = c - } - } - - w.WriteHeader(rc) - fmt.Fprint(w, "unauthorized") - } - }) - http.ListenAndServe(":8080", nil) -} diff --git a/examples/customization/external-auth-headers/deploy/echo-service.yaml b/examples/customization/external-auth-headers/echo-service.yaml similarity index 96% rename from examples/customization/external-auth-headers/deploy/echo-service.yaml rename to examples/customization/external-auth-headers/echo-service.yaml index 9881ac8d0..636aaded1 100644 --- a/examples/customization/external-auth-headers/deploy/echo-service.yaml +++ b/examples/customization/external-auth-headers/echo-service.yaml @@ -18,7 +18,7 @@ spec: terminationGracePeriodSeconds: 60 containers: - name: echo-service - image: electroma/ingress-demo-echosvc-amd64:0.1 + image: gcr.io/k8s-staging-ingress-nginx/e2e-test-echo:v1.0.0 ports: - containerPort: 8080 resources: diff --git a/examples/customization/external-auth-headers/echosvc/Dockerfile b/examples/customization/external-auth-headers/echosvc/Dockerfile deleted file mode 100644 index 04e4ead42..000000000 --- a/examples/customization/external-auth-headers/echosvc/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM alpine:3.10 -MAINTAINER Roman Safronov -COPY echosvc / -EXPOSE 8080 -ENTRYPOINT ["/echosvc"] diff --git a/examples/customization/external-auth-headers/echosvc/echosvc.go b/examples/customization/external-auth-headers/echosvc/echosvc.go deleted file mode 100644 index ba9702aa0..000000000 --- a/examples/customization/external-auth-headers/echosvc/echosvc.go +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package main - -import ( - "fmt" - "net/http" -) - -func handler(w http.ResponseWriter, r *http.Request) { - fmt.Fprintf(w, "UserID: %s, UserRole: %s", r.Header.Get("UserID"), r.Header.Get("UserRole")) -} - -// Sample "echo" service displaying UserID and UserRole HTTP request headers -func main() { - http.HandleFunc("/", handler) - http.ListenAndServe(":8080", nil) -} diff --git a/sitemap.xml b/sitemap.xml index 9eb0c9d4e..8e4864ed6 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,207 +1,207 @@ https://kubernetes.github.io/ingress-nginx/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/how-it-works/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/troubleshooting/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/kubectl-plugin/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/deploy/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/deploy/baremetal/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/deploy/rbac/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/deploy/upgrade/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/deploy/hardening-guide/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/basic-usage/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/custom-template/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/log-format/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/cli-arguments/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/custom-errors/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/default-backend/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/fcgi-services/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/ingress-path-matching/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/external-articles/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/miscellaneous/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/monitoring/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/tls/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/modsecurity/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/opentracing/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/PREREQUISITES/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/affinity/cookie/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/auth/basic/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/auth/client-certs/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/auth/external-auth/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/auth/oauth-external-auth/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/customization/configuration-snippets/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/customization/custom-configuration/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/customization/custom-errors/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/customization/custom-headers/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/customization/external-auth-headers/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/customization/ssl-dh-param/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/customization/sysctl/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/docker-registry/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/grpc/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/multi-tls/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/rewrite/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/static-ip/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/tls-termination/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/examples/psp/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/developer-guide/getting-started/ - 2022-03-21 + 2022-03-22 daily https://kubernetes.github.io/ingress-nginx/developer-guide/code-overview/ - 2022-03-21 + 2022-03-22 daily \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz index 39c7c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