Skip to content

Commit dc98d83

Browse files
chore(deps): update helm release external-secrets to v1
1 parent b8bc91c commit dc98d83

File tree

7 files changed

+71
-9
lines changed

7 files changed

+71
-9
lines changed

docs/examples/src/charts/charts.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ charts: helm.Charts = {
4444
chart = "external-secrets"
4545
repoURL = "https://charts.external-secrets.io/"
4646
schemaGenerator = "AUTO"
47-
targetRevision = "0.20.4"
47+
targetRevision = "1.0.0"
4848
crdGenerator = "TEMPLATE"
4949
values: {
5050
installCRDs = True

docs/examples/src/charts/external_secrets/api/v1/external_secrets_io_v1_external_secret.k

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,8 @@ schema ExternalSecretsIoV1ExternalSecretSpecTarget:
435435
Defaults to "Retain"
436436
immutable : bool, default is Undefined, optional
437437
Immutable defines if the final secret will be immutable
438+
manifest : ExternalSecretsIoV1ExternalSecretSpecTargetManifest, default is Undefined, optional
439+
manifest
438440
name : str, default is Undefined, optional
439441
The name of the Secret resource to be managed.
440442
Defaults to the .metadata.name of the ExternalSecret resource
@@ -444,6 +446,7 @@ schema ExternalSecretsIoV1ExternalSecretSpecTarget:
444446
creationPolicy?: "Owner" | "Orphan" | "Merge" | "None" = "Owner"
445447
deletionPolicy?: "Delete" | "Merge" | "Retain" = "Retain"
446448
immutable?: bool
449+
manifest?: ExternalSecretsIoV1ExternalSecretSpecTargetManifest
447450
name?: str
448451
template?: ExternalSecretsIoV1ExternalSecretSpecTargetTemplate
449452

@@ -452,6 +455,28 @@ schema ExternalSecretsIoV1ExternalSecretSpecTarget:
452455
len(name) >= 1 if name
453456
_regex_match(str(name), r"^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$") if name
454457

458+
schema ExternalSecretsIoV1ExternalSecretSpecTargetManifest:
459+
r"""
460+
Manifest defines a custom Kubernetes resource to create instead of a Secret.
461+
When specified, ExternalSecret will create the resource type defined here
462+
(e.g., ConfigMap, Custom Resource) instead of a Secret.
463+
Warning: Using Generic target. Make sure access policies and encryption are properly configured.
464+
465+
Attributes
466+
----------
467+
apiVersion : str, default is Undefined, required
468+
APIVersion of the target resource (e.g., "v1" for ConfigMap, "argoproj.io/v1alpha1" for ArgoCD Application)
469+
kind : str, default is Undefined, required
470+
Kind of the target resource (e.g., "ConfigMap", "Application")
471+
"""
472+
apiVersion: str
473+
474+
kind: str
475+
476+
check:
477+
len(apiVersion) >= 1
478+
len(kind) >= 1
479+
455480
schema ExternalSecretsIoV1ExternalSecretSpecTargetTemplate:
456481
r"""
457482
Template defines a blueprint for the created Secret resource.
@@ -511,12 +536,15 @@ schema ExternalSecretsIoV1ExternalSecretSpecTargetTemplateTemplateFromItems0:
511536
secret : ExternalSecretsIoV1ExternalSecretSpecTargetTemplateTemplateFromItems0Secret, default is Undefined, optional
512537
secret
513538
target : str, default is "Data", optional
514-
TemplateTarget specifies where the rendered templates should be applied.
539+
Target specifies where to place the template result.
540+
For Secret resources, common values are: "Data", "Annotations", "Labels".
541+
For custom resources (when spec.target.manifest is set), this supports
542+
nested paths like "spec.database.config" or "data".
515543
"""
516544
configMap?: ExternalSecretsIoV1ExternalSecretSpecTargetTemplateTemplateFromItems0ConfigMap
517545
literal?: str
518546
secret?: ExternalSecretsIoV1ExternalSecretSpecTargetTemplateTemplateFromItems0Secret
519-
target?: "Data" | "Annotations" | "Labels" = "Data"
547+
target?: str = "Data"
520548

521549
schema ExternalSecretsIoV1ExternalSecretSpecTargetTemplateTemplateFromItems0ConfigMap:
522550
r"""

docs/examples/src/charts/external_secrets/api/v1alpha1/external_secrets_io_v1alpha1_cluster_push_secret.k

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,12 +416,15 @@ schema ExternalSecretsIoV1alpha1ClusterPushSecretSpecPushSecretSpecTemplateTempl
416416
secret : ExternalSecretsIoV1alpha1ClusterPushSecretSpecPushSecretSpecTemplateTemplateFromItems0Secret, default is Undefined, optional
417417
secret
418418
target : str, default is "Data", optional
419-
TemplateTarget specifies where the rendered templates should be applied.
419+
Target specifies where to place the template result.
420+
For Secret resources, common values are: "Data", "Annotations", "Labels".
421+
For custom resources (when spec.target.manifest is set), this supports
422+
nested paths like "spec.database.config" or "data".
420423
"""
421424
configMap?: ExternalSecretsIoV1alpha1ClusterPushSecretSpecPushSecretSpecTemplateTemplateFromItems0ConfigMap
422425
literal?: str
423426
secret?: ExternalSecretsIoV1alpha1ClusterPushSecretSpecPushSecretSpecTemplateTemplateFromItems0Secret
424-
target?: "Data" | "Annotations" | "Labels" = "Data"
427+
target?: str = "Data"
425428

426429
schema ExternalSecretsIoV1alpha1ClusterPushSecretSpecPushSecretSpecTemplateTemplateFromItems0ConfigMap:
427430
r"""

docs/examples/src/charts/external_secrets/api/v1alpha1/external_secrets_io_v1alpha1_push_secret.k

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,12 +330,15 @@ schema ExternalSecretsIoV1alpha1PushSecretSpecTemplateTemplateFromItems0:
330330
secret : ExternalSecretsIoV1alpha1PushSecretSpecTemplateTemplateFromItems0Secret, default is Undefined, optional
331331
secret
332332
target : str, default is "Data", optional
333-
TemplateTarget specifies where the rendered templates should be applied.
333+
Target specifies where to place the template result.
334+
For Secret resources, common values are: "Data", "Annotations", "Labels".
335+
For custom resources (when spec.target.manifest is set), this supports
336+
nested paths like "spec.database.config" or "data".
334337
"""
335338
configMap?: ExternalSecretsIoV1alpha1PushSecretSpecTemplateTemplateFromItems0ConfigMap
336339
literal?: str
337340
secret?: ExternalSecretsIoV1alpha1PushSecretSpecTemplateTemplateFromItems0Secret
338-
target?: "Data" | "Annotations" | "Labels" = "Data"
341+
target?: str = "Data"
339342

340343
schema ExternalSecretsIoV1alpha1PushSecretSpecTemplateTemplateFromItems0ConfigMap:
341344
r"""

docs/examples/src/charts/external_secrets/chart.k

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ schema Chart(helm.Chart):
1414
values : Values | any, optional, default is {crds = {createClusterExternalSecret = False, createClusterGenerator = False, createClusterSecretStore = False, createPushSecret = True}, installCRDs = True}
1515
chart : str, required, default is "external-secrets"
1616
repoURL : str, required, default is "https://charts.external-secrets.io/"
17-
targetRevision : str, optional, default is "0.20.4"
17+
targetRevision : str, optional, default is "1.0.0"
1818
"""
1919
values?: Values | any = {crds = {createClusterExternalSecret = False, createClusterGenerator = False, createClusterSecretStore = False, createPushSecret = True}, installCRDs = True}
2020
chart: str = "external-secrets"
2121
repoURL: str = "https://charts.external-secrets.io/"
22-
targetRevision?: str = "0.20.4"
22+
targetRevision?: str = "1.0.0"
2323

docs/examples/src/charts/external_secrets/values.schema.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,20 @@
436436
"required": [],
437437
"type": "string"
438438
},
439+
"genericTargets": {
440+
"properties": {
441+
"enabled": {
442+
"required": [],
443+
"type": "boolean"
444+
},
445+
"resources": {
446+
"required": [],
447+
"type": "array"
448+
}
449+
},
450+
"required": [],
451+
"type": "object"
452+
},
439453
"global": {
440454
"properties": {
441455
"affinity": {

docs/examples/src/charts/external_secrets/values.schema.k

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ schema Values:
3030
extraVolumeMounts : any, optional
3131
extraVolumes : any, optional
3232
fullnameOverride : str, optional
33+
genericTargets : ValuesGenericTargets, optional
3334
global : ValuesGlobal, optional
3435
grafanaDashboard : ValuesGrafanaDashboard, optional
3536
hostNetwork : bool, optional
@@ -92,6 +93,7 @@ schema Values:
9293
extraVolumeMounts?: any
9394
extraVolumes?: any
9495
fullnameOverride?: str
96+
genericTargets?: ValuesGenericTargets
9597
global?: ValuesGlobal
9698
grafanaDashboard?: ValuesGrafanaDashboard
9799
hostNetwork?: bool
@@ -533,6 +535,18 @@ schema ValuesExtraArgs:
533535
"""
534536
[...str]: any
535537

538+
schema ValuesGenericTargets:
539+
r"""
540+
ValuesGenericTargets
541+
542+
Attributes
543+
----------
544+
enabled : bool, optional
545+
resources : any, optional
546+
"""
547+
enabled?: bool
548+
resources?: any
549+
536550
schema ValuesGlobal:
537551
r"""
538552
ValuesGlobal

0 commit comments

Comments
 (0)