Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
241 changes: 241 additions & 0 deletions repo/packages/contour.packages.kadras.io/1.29.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
apiVersion: data.packaging.carvel.dev/v1alpha1
kind: Package
metadata:
creationTimestamp: null
name: contour.packages.kadras.io.1.29.0
spec:
licenses:
- Apache 2.0
refName: contour.packages.kadras.io
releaseNotes: https://github.com/kadras-io/package-for-contour/releases
releasedAt: "2024-05-17T19:36:45Z"
template:
spec:
deploy:
- kapp:
rawOptions:
- --wait-timeout=5m
- --kube-api-qps=25
- --kube-api-burst=50
fetch:
- imgpkgBundle:
image: ghcr.io/kadras-io/package-for-contour@sha256:f9c34850b34b1a3b0d4d99d66483155d455d65b467fb28dc64290f5e30f3f0d9
template:
- ytt:
paths:
- config
- kbld:
paths:
- '-'
- .imgpkg/images.yml
valuesSchema:
openAPIv3:
additionalProperties: false
properties:
certificates:
additionalProperties: false
description: TLS configuration to secure the communication between Contour
and Envoy.
properties:
duration:
default: 8760h
description: If using cert-manager, how long the certificates should
be valid for. If `useCertManager` is false, this field is ignored.
type: string
renewBefore:
default: 360h
description: If using cert-manager, how long before expiration the certificates
should be renewed. If `useCertManager` is false, this field is ignored.
type: string
useCertManager:
default: false
description: 'Whether to use cert-manager to provision TLS certificates
for securing the communication between Contour and Envoy. If `false`,
the `contour-certgen` Job will be used to provision certificates.
If `true`, cert-manager must be installed in the cluster. See: https://github.com/kadras-io/package-for-cert-manager.'
type: boolean
type: object
contour:
additionalProperties: false
description: Settings for the Contour component.
properties:
config:
additionalProperties: false
description: Configuration for the Contour Deployment.
properties:
logFormat:
default: text
description: Log output format for Contour. Either `text` (default)
or `json`.
enum:
- json
- text
type: string
logLevel:
default: info
description: The Contour log level. Valid options are `info` and
`debug`.
enum:
- info
- debug
type: string
useProxyProtocol:
default: false
description: Whether to enable PROXY protocol for all Envoy listeners.
type: boolean
type: object
configFileContents:
default: {}
description: The YAML contents of the Contour config file. See https://projectcontour.io/docs/latest/configuration/#configuration-file
for more information.
nullable: true
replicas:
default: 2
description: The number of Contour replicas. In order to enable high
availability, it should be greater than 1.
minimum: 1
type: integer
type: object
envoy:
additionalProperties: false
description: Settings for the Envoy component.
properties:
config:
additionalProperties: false
description: Configuration for the Envoy workload.
properties:
logLevel:
default: info
description: The Envoy log level.
enum:
- trace
- debug
- info
- warning
- warn
- error
- critical
- "off"
type: string
type: object
service:
additionalProperties: false
description: Envoy service settings.
properties:
annotations:
default: null
description: Annotations to set on the Envoy service.
nullable: true
externalTrafficPolicy:
default: Local
description: The external traffic policy for the Envoy service in
case the `infrastructure_provider` doesn't enforce one already.
enum:
- Cluster
- Local
type: string
loadBalancerIP:
default: ""
description: The desired load balancer IP. If `type` is not `LoadBalancer',
this field is ignored. It is up to the cloud provider whether
to honor this request. If not specified, the load balancer IP
will be assigned by the cloud provider.
type: string
nodePorts:
additionalProperties: false
description: NodePort settings for the Envoy service. If type is
not `NodePort` or `LoadBalancer`, these settings are ignored.
properties:
http:
default: 0
description: The node port number to expose Envoy's HTTP listener
on. If not specified, a node port will be auto-assigned by
Kubernetes.
type: integer
https:
default: 0
description: The node port number to expose Envoy's HTTPS listener
on. If not specified, a node port will be auto-assigned by
Kubernetes.
type: integer
type: object
type:
default: LoadBalancer
description: The type of Kubernetes service to provision for Envoy
in case the `infrastructure_provider` doesn't enforce one already.
type: string
type: object
workload:
additionalProperties: false
description: Envoy workload settings.
properties:
dnsPolicy:
default: ClusterFirst
description: The DNS policy for the Envoy pods.
enum:
- ClusterFirst
- ClusterFirstWithHostNet
type: string
hostNetwork:
default: false
description: Whether to enable host networking for the Envoy pods.
type: boolean
hostPorts:
additionalProperties: false
description: Host port settings for the Envoy pods.
properties:
enabled:
default: true
description: Whether to enable host ports. If false, http &
https are ignored.
type: boolean
http:
default: 80
description: If enabled, the host port number to expose Envoy's
HTTP listener on.
type: integer
https:
default: 443
description: If enabled, the host port number to expose Envoy's
HTTPS listener on.
type: integer
type: object
replicas:
default: 2
description: The number of Envoy replicas to deploy when `type`
is set to `Deployment`.
type: integer
terminationGracePeriodSeconds:
default: 300
description: The termination grace period, in seconds, for the Envoy
pods.
minimum: 30
type: integer
type:
default: DaemonSet
description: The type of Kubernetes workload that Envoy is deployed
as. Options are `Deployment` or `DaemonSet`. If not specified,
it defaults to `DaemonSet`.
enum:
- Deployment
- DaemonSet
type: string
type: object
type: object
infrastructure_provider:
default: null
description: The underlying infrastructure provider. Options are `local`
and `vsphere`. This field is not required, but it enables better validation
and defaulting if provided.
enum:
- local
- vsphere
nullable: true
type: string
namespace:
default: projectcontour
description: The namespace in which to deploy Contour and Envoy.
minLength: 1
type: string
type: object
version: 1.29.0