Skip to content

Commit

Permalink
Merge pull request #7145 from zalando-incubator/beta-to-stable
Browse files Browse the repository at this point in the history
beta to stable
  • Loading branch information
demonCoder95 authored Mar 12, 2024
2 parents 7678111 + 66fb1ab commit a404b00
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cluster/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ skipper_ingress_default_lb_algorithm: "powerOfRandomNChoices"

skipper_ingress_disable_catchall_routes: "true"

# Original RouteGroup CRD does not require hosts but we explicitly want it specified in our infrastructure
skipper_ingress_routegroup_crd_require_hosts: "true"

# Set defaults values that would enable Open Policy Agent in a skipper filter
skipper_open_policy_agent_enabled: "false"
skipper_open_policy_agent_styra_token: ""
Expand Down
5 changes: 4 additions & 1 deletion cluster/manifests/01-routegroup/routegroup-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ spec:
description: List of hostnames for the RouteGroup
items:
pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?([.][a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"
minItems: 1 # original CRD allows empty hosts but we explicitly want it specified in our infrastructure
type: string
type: array
minItems: 1
routes:
description: Routes describe how a matching HTTP request is handled
and where it is forwarded to
Expand Down Expand Up @@ -218,6 +218,9 @@ spec:
type: array
required:
- backends
# {{ if eq .Cluster.ConfigItems.skipper_ingress_routegroup_crd_require_hosts "true" }}
- hosts
# {{ end }}
type: object
status:
properties:
Expand Down
2 changes: 1 addition & 1 deletion cluster/manifests/skipper/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ $internal_version := "v0.21.4-831" }}
{{ $canary_internal_version := "v0.21.4-831" }}
{{ $canary_internal_version := "v0.21.19-847" }}

{{/* Optional canary arguments separated by "[cf724afc]" to allow whitespaces, e.g. "-foo=has a whitespace[cf724afc]-baz=qux" */}}
{{ $canary_args := "" }}
Expand Down

0 comments on commit a404b00

Please sign in to comment.