-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: update tests for disable request verifications
- Loading branch information
1 parent
314d841
commit 86e65b2
Showing
63 changed files
with
271 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
internal/templating/ingress/test-resources/result-custom-ingress7.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
custom-annotation: custom annotation value | ||
fastly.amazee.io/watch: "false" | ||
idling.amazee.io/disable-request-verification: "true" | ||
ingress.kubernetes.io/ssl-redirect: "true" | ||
kubernetes.io/tls-acme: "true" | ||
lagoon.sh/branch: environment-with-really-really-reall-3fdb | ||
lagoon.sh/version: v2.x.x | ||
nginx.ingress.kubernetes.io/server-snippet: | | ||
add_header X-Robots-Tag "noindex, nofollow"; | ||
nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/instance: extra-long-name-f6c8a | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: custom-ingress | ||
helm.sh/chart: custom-ingress-0.1.0 | ||
lagoon.sh/autogenerated: "false" | ||
lagoon.sh/buildType: branch | ||
lagoon.sh/environment: environment-with-really-really-reall-3fdb | ||
lagoon.sh/environmentType: development | ||
lagoon.sh/project: example-project | ||
lagoon.sh/service: extra-long-name-f6c8a | ||
lagoon.sh/service-type: custom-ingress | ||
name: extra-long-name.a-really-long-name-that-should-truncate.www.example.com | ||
spec: | ||
rules: | ||
- host: extra-long-name.a-really-long-name-that-should-truncate.www.example.com | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: nginx | ||
port: | ||
name: http | ||
path: / | ||
pathType: Prefix | ||
tls: | ||
- hosts: | ||
- extra-long-name.a-really-long-name-that-should-truncate.www.example.com | ||
secretName: extra-long-name-f6c8a-tls | ||
status: | ||
loadBalancer: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
internal/testdata/node/autogen-templates/ingress-15/node.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
fastly.amazee.io/watch: "false" | ||
idling.amazee.io/disable-request-verification: "true" | ||
ingress.kubernetes.io/ssl-redirect: "true" | ||
kubernetes.io/tls-acme: "true" | ||
lagoon.sh/branch: main | ||
lagoon.sh/version: v2.7.x | ||
monitor.stakater.com/enabled: "false" | ||
nginx.ingress.kubernetes.io/server-snippet: | | ||
add_header X-Robots-Tag "noindex, nofollow"; | ||
nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/instance: node | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: autogenerated-ingress | ||
helm.sh/chart: autogenerated-ingress-0.1.0 | ||
lagoon.sh/autogenerated: "true" | ||
lagoon.sh/buildType: branch | ||
lagoon.sh/environment: main | ||
lagoon.sh/environmentType: production | ||
lagoon.sh/project: example-project | ||
lagoon.sh/service: node | ||
lagoon.sh/service-type: node | ||
name: node | ||
spec: | ||
rules: | ||
- host: node-example-project-main.example.com | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: node | ||
port: | ||
name: http | ||
path: / | ||
pathType: Prefix | ||
tls: | ||
- hosts: | ||
- node-example-project-main.example.com | ||
secretName: node-tls | ||
status: | ||
loadBalancer: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.