Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 9090624

Browse files
committed
Allow to add additional env variables to istio ingress controller
1 parent f13c731 commit 9090624

File tree

5 files changed

+488
-0
lines changed

5 files changed

+488
-0
lines changed

charts/kafka-operator/templates/crds.yaml

Lines changed: 239 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10447,6 +10447,115 @@ spec:
1044710447
description: Annotations defines the annotations placed on the
1044810448
istio ingress controller deployment
1044910449
type: object
10450+
envs:
10451+
description: Envs allows to add additional env vars to the istio
10452+
meshgateway resource
10453+
items:
10454+
description: EnvVar represents an environment variable present
10455+
in a Container.
10456+
properties:
10457+
name:
10458+
description: Name of the environment variable. Must be a
10459+
C_IDENTIFIER.
10460+
type: string
10461+
value:
10462+
description: 'Variable references $(VAR_NAME) are expanded
10463+
using the previous defined environment variables in the
10464+
container and any service environment variables. If a
10465+
variable cannot be resolved, the reference in the input
10466+
string will be unchanged. The $(VAR_NAME) syntax can be
10467+
escaped with a double $$, ie: $$(VAR_NAME). Escaped references
10468+
will never be expanded, regardless of whether the variable
10469+
exists or not. Defaults to "".'
10470+
type: string
10471+
valueFrom:
10472+
description: Source for the environment variable's value.
10473+
Cannot be used if value is not empty.
10474+
properties:
10475+
configMapKeyRef:
10476+
description: Selects a key of a ConfigMap.
10477+
properties:
10478+
key:
10479+
description: The key to select.
10480+
type: string
10481+
name:
10482+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
10483+
TODO: Add other useful fields. apiVersion, kind,
10484+
uid?'
10485+
type: string
10486+
optional:
10487+
description: Specify whether the ConfigMap or its
10488+
key must be defined
10489+
type: boolean
10490+
required:
10491+
- key
10492+
type: object
10493+
fieldRef:
10494+
description: 'Selects a field of the pod: supports metadata.name,
10495+
metadata.namespace, metadata.labels, metadata.annotations,
10496+
spec.nodeName, spec.serviceAccountName, status.hostIP,
10497+
status.podIP, status.podIPs.'
10498+
properties:
10499+
apiVersion:
10500+
description: Version of the schema the FieldPath
10501+
is written in terms of, defaults to "v1".
10502+
type: string
10503+
fieldPath:
10504+
description: Path of the field to select in the
10505+
specified API version.
10506+
type: string
10507+
required:
10508+
- fieldPath
10509+
type: object
10510+
resourceFieldRef:
10511+
description: 'Selects a resource of the container: only
10512+
resources limits and requests (limits.cpu, limits.memory,
10513+
limits.ephemeral-storage, requests.cpu, requests.memory
10514+
and requests.ephemeral-storage) are currently supported.'
10515+
properties:
10516+
containerName:
10517+
description: 'Container name: required for volumes,
10518+
optional for env vars'
10519+
type: string
10520+
divisor:
10521+
anyOf:
10522+
- type: integer
10523+
- type: string
10524+
description: Specifies the output format of the
10525+
exposed resources, defaults to "1"
10526+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
10527+
x-kubernetes-int-or-string: true
10528+
resource:
10529+
description: 'Required: resource to select'
10530+
type: string
10531+
required:
10532+
- resource
10533+
type: object
10534+
secretKeyRef:
10535+
description: Selects a key of a secret in the pod's
10536+
namespace
10537+
properties:
10538+
key:
10539+
description: The key of the secret to select from. Must
10540+
be a valid secret key.
10541+
type: string
10542+
name:
10543+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
10544+
TODO: Add other useful fields. apiVersion, kind,
10545+
uid?'
10546+
type: string
10547+
optional:
10548+
description: Specify whether the Secret or its key
10549+
must be defined
10550+
type: boolean
10551+
required:
10552+
- key
10553+
type: object
10554+
type: object
10555+
required:
10556+
- name
10557+
type: object
10558+
type: array
1045010559
gatewayConfig:
1045110560
properties:
1045210561
caCertificates:
@@ -10809,6 +10918,136 @@ spec:
1080910918
description: Annotations defines the annotations
1081010919
placed on the istio ingress controller deployment
1081110920
type: object
10921+
envs:
10922+
description: Envs allows to add additional
10923+
env vars to the istio meshgateway resource
10924+
items:
10925+
description: EnvVar represents an environment
10926+
variable present in a Container.
10927+
properties:
10928+
name:
10929+
description: Name of the environment
10930+
variable. Must be a C_IDENTIFIER.
10931+
type: string
10932+
value:
10933+
description: 'Variable references $(VAR_NAME)
10934+
are expanded using the previous defined
10935+
environment variables in the container
10936+
and any service environment variables.
10937+
If a variable cannot be resolved,
10938+
the reference in the input string
10939+
will be unchanged. The $(VAR_NAME)
10940+
syntax can be escaped with a double
10941+
$$, ie: $$(VAR_NAME). Escaped references
10942+
will never be expanded, regardless
10943+
of whether the variable exists or
10944+
not. Defaults to "".'
10945+
type: string
10946+
valueFrom:
10947+
description: Source for the environment
10948+
variable's value. Cannot be used if
10949+
value is not empty.
10950+
properties:
10951+
configMapKeyRef:
10952+
description: Selects a key of a
10953+
ConfigMap.
10954+
properties:
10955+
key:
10956+
description: The key to select.
10957+
type: string
10958+
name:
10959+
description: 'Name of the referent.
10960+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
10961+
TODO: Add other useful fields.
10962+
apiVersion, kind, uid?'
10963+
type: string
10964+
optional:
10965+
description: Specify whether
10966+
the ConfigMap or its key must
10967+
be defined
10968+
type: boolean
10969+
required:
10970+
- key
10971+
type: object
10972+
fieldRef:
10973+
description: 'Selects a field of
10974+
the pod: supports metadata.name,
10975+
metadata.namespace, metadata.labels,
10976+
metadata.annotations, spec.nodeName,
10977+
spec.serviceAccountName, status.hostIP,
10978+
status.podIP, status.podIPs.'
10979+
properties:
10980+
apiVersion:
10981+
description: Version of the
10982+
schema the FieldPath is written
10983+
in terms of, defaults to "v1".
10984+
type: string
10985+
fieldPath:
10986+
description: Path of the field
10987+
to select in the specified
10988+
API version.
10989+
type: string
10990+
required:
10991+
- fieldPath
10992+
type: object
10993+
resourceFieldRef:
10994+
description: 'Selects a resource
10995+
of the container: only resources
10996+
limits and requests (limits.cpu,
10997+
limits.memory, limits.ephemeral-storage,
10998+
requests.cpu, requests.memory
10999+
and requests.ephemeral-storage)
11000+
are currently supported.'
11001+
properties:
11002+
containerName:
11003+
description: 'Container name:
11004+
required for volumes, optional
11005+
for env vars'
11006+
type: string
11007+
divisor:
11008+
anyOf:
11009+
- type: integer
11010+
- type: string
11011+
description: Specifies the output
11012+
format of the exposed resources,
11013+
defaults to "1"
11014+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
11015+
x-kubernetes-int-or-string: true
11016+
resource:
11017+
description: 'Required: resource
11018+
to select'
11019+
type: string
11020+
required:
11021+
- resource
11022+
type: object
11023+
secretKeyRef:
11024+
description: Selects a key of a
11025+
secret in the pod's namespace
11026+
properties:
11027+
key:
11028+
description: The key of the
11029+
secret to select from. Must
11030+
be a valid secret key.
11031+
type: string
11032+
name:
11033+
description: 'Name of the referent.
11034+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
11035+
TODO: Add other useful fields.
11036+
apiVersion, kind, uid?'
11037+
type: string
11038+
optional:
11039+
description: Specify whether
11040+
the Secret or its key must
11041+
be defined
11042+
type: boolean
11043+
required:
11044+
- key
11045+
type: object
11046+
type: object
11047+
required:
11048+
- name
11049+
type: object
11050+
type: array
1081211051
gatewayConfig:
1081311052
properties:
1081411053
caCertificates:

0 commit comments

Comments
 (0)