Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev to beta #6382

Merged
merged 10 commits into from
Aug 25, 2023
5 changes: 4 additions & 1 deletion cluster/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,13 @@ skipper_serve_method_metric: "false"
# of the skipper_serve_host_duration_seconds_bucket metric.
skipper_serve_status_code_metric: "false"

# disabled|provisioned|enabled routegroup validation ( skipper webhook )
# disabled|provisioned|enabled routegroup validation via skipper webhook
# can be one of disabled|provisioned|enabled
routegroups_validation: "enabled"

# disabled|enabled ingress validation via skipper webhook
ingresses_validation: "disabled"

# tokeninfo
{{if eq .Cluster.Environment "production"}}
# production|bridge|disabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
application: skipper-ingress
component: webhook
webhooks:
{{ if eq .Cluster.ConfigItems.routegroups_validation "enabled" }}
# {{ if eq .Cluster.ConfigItems.routegroups_validation "enabled" }}
- name: "routegroup-admitter.teapot.zalan.do"
rules:
- operations: ["CREATE", "UPDATE"]
Expand All @@ -19,7 +19,8 @@ webhooks:
admissionReviewVersions: ["v1"]
sideEffects: None
timeoutSeconds: 5
{{ end }}
# {{ end }}
# {{ if eq .Cluster.ConfigItems.ingresses_validation "enabled" }}
- name: "ingress-admitter.teapot.zalan.do"
rules:
- operations: ["CREATE", "UPDATE"]
Expand All @@ -31,4 +32,5 @@ webhooks:
caBundle: "{{ .ConfigItems.ca_cert_decompressed }}"
admissionReviewVersions: ["v1"]
sideEffects: None
timeoutSeconds: 5
timeoutSeconds: 5
# {{ end }}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# {{ if eq .ConfigItems.skipper_oauth2_ui_login "true" }}
# {{ $version := "main-6" }}
# {{ $version := "main-9" }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -85,6 +85,7 @@ spec:
containers:
- name: controller
image: "container-registry.zalando.net/gwproxy/hostname-credentials-controller:{{ $version }}"
terminationMessagePolicy: FallbackToLogsOnError
args:
- -ingress-selector=application
- -credentials-namespace=kube-system
Expand Down
7 changes: 4 additions & 3 deletions cluster/manifests/skipper/secret-combiner.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ if eq .ConfigItems.skipper_oauth2_ui_login "true" }}
{{ $version := "main-2" }}
# {{ if eq .ConfigItems.skipper_oauth2_ui_login "true" }}
# {{ $version := "main-5" }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -74,6 +74,7 @@ spec:
containers:
- name: combiner
image: "container-registry.zalando.net/gwproxy/secret-combiner:{{ $version }}"
terminationMessagePolicy: FallbackToLogsOnError
env:
- name: NAMESPACE
valueFrom:
Expand All @@ -94,4 +95,4 @@ spec:
requests:
cpu: 10m
memory: 50Mi
{{ end }}
# {{ end }}
22 changes: 14 additions & 8 deletions cluster/manifests/stackset-controller/01-stack-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,20 @@ spec:
- maxReplicas
- metrics
type: object
# {{ if eq .Cluster.ConfigItems.stackset_ingress_in_stack_crd "true" }}
externalIngress:
description: Stack specific ExternalIngress, based on the parent StackSet
at creation time.
properties:
backendPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- backendPort
type: object
# {{ end }}
# {{ if eq .Cluster.ConfigItems.stackset_legacy_hpa_field_crd_enabled "true" }}
horizontalPodAutoscaler:
description: HorizontalPodAutoscaler is the Autoscaling configuration
Expand Down Expand Up @@ -1290,8 +1304,6 @@ spec:
the key and values.
properties:
key:
description: key is the label key
that the selector applies to.
type: string
operator:
type: string
Expand Down Expand Up @@ -1337,8 +1349,6 @@ spec:
the key and values.
properties:
key:
description: key is the label key
that the selector applies to.
type: string
operator:
type: string
Expand Down Expand Up @@ -1569,8 +1579,6 @@ spec:
the key and values.
properties:
key:
description: key is the label key
that the selector applies to.
type: string
operator:
type: string
Expand Down Expand Up @@ -1616,8 +1624,6 @@ spec:
the key and values.
properties:
key:
description: key is the label key
that the selector applies to.
type: string
operator:
type: string
Expand Down