Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Commit bdf2d6f

Browse files
authored
Merge pull request #4 from tf-controller/change-varsFrom-to-array
update tf-controller to v0.8.0
2 parents c812753 + 73c2890 commit bdf2d6f

File tree

3 files changed

+41
-35
lines changed

3 files changed

+41
-35
lines changed

charts/tf-controller/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: tf-controller
33
description: A Helm chart for TF-controller
44
type: application
5-
version: 0.0.2
6-
appVersion: "0.7.0"
5+
version: 0.0.3
6+
appVersion: "0.8.0"

charts/tf-controller/templates/crds.yaml

+38-32
Original file line numberDiff line numberDiff line change
@@ -236,39 +236,45 @@ spec:
236236
type: object
237237
type: array
238238
varsFrom:
239-
description: VarsReference contain a reference of a Secret or a ConfigMap
240-
to generate variables for Terraform resources based on its data,
241-
selectively by varsKey.
242-
properties:
243-
kind:
244-
description: Kind of the values referent, valid values are ('Secret',
245-
'ConfigMap').
246-
enum:
247-
- Secret
248-
- ConfigMap
249-
type: string
250-
name:
251-
description: Name of the values referent. Should reside in the
252-
same namespace as the referring resource.
253-
maxLength: 253
254-
minLength: 1
255-
type: string
256-
optional:
257-
description: Optional marks this VarsReference as optional. When
258-
set, a not found error for the values reference is ignored,
259-
but any VarsKey or transient error will still result in a reconciliation
260-
failure.
261-
type: boolean
262-
varsKeys:
263-
description: VarsKeys is the data key where the values.yaml or
264-
a specific value can be found at. Defaults to all keys.
265-
items:
239+
description: List of references to a Secret or a ConfigMap to generate
240+
variables for Terraform resources based on its data, selectively
241+
by varsKey. Values of the later Secret / ConfigMap with the samek
242+
keys will override those of the former.
243+
items:
244+
description: VarsReference contain a reference of a Secret or a
245+
ConfigMap to generate variables for Terraform resources based
246+
on its data, selectively by varsKey.
247+
properties:
248+
kind:
249+
description: Kind of the values referent, valid values are ('Secret',
250+
'ConfigMap').
251+
enum:
252+
- Secret
253+
- ConfigMap
266254
type: string
267-
type: array
268-
required:
269-
- kind
270-
- name
271-
type: object
255+
name:
256+
description: Name of the values referent. Should reside in the
257+
same namespace as the referring resource.
258+
maxLength: 253
259+
minLength: 1
260+
type: string
261+
optional:
262+
description: Optional marks this VarsReference as optional.
263+
When set, a not found error for the values reference is ignored,
264+
but any VarsKey or transient error will still result in a
265+
reconciliation failure.
266+
type: boolean
267+
varsKeys:
268+
description: VarsKeys is the data key where the values.yaml
269+
or a specific value can be found at. Defaults to all keys.
270+
items:
271+
type: string
272+
type: array
273+
required:
274+
- kind
275+
- name
276+
type: object
277+
type: array
272278
writeOutputsToSecret:
273279
description: A list of target secrets for the outputs to be written
274280
as.

charts/tf-controller/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ image:
44
repository: ghcr.io/chanwit/tf-controller
55
pullPolicy: IfNotPresent
66
# Overrides the image tag whose default is the chart appVersion.
7-
tag: "v0.7.0"
7+
tag: "v0.8.0"
88

99
imagePullSecrets: []
1010
nameOverride: ""

0 commit comments

Comments
 (0)