Skip to content

Commit fd5634a

Browse files
authored
Merge pull request #82758 from slovern/TELCODOCS-1949
TELCODOCS-1949 - RHACM support for templates changes from partial ful…
2 parents 7c4ffd6 + 13146f9 commit fd5634a

4 files changed

+10
-88
lines changed

edge_computing/ztp-using-hub-cluster-templates.adoc

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
{cgu-operator-full} supports partial {rh-rhacm-first} hub cluster template functions in configuration policies used with {ztp-first}.
9+
{cgu-operator-full} supports {rh-rhacm-first} hub cluster template functions in configuration policies used with {ztp-first}.
1010

1111
Hub-side cluster templates allow you to define configuration policies that can be dynamically customized to the target clusters.
1212
This reduces the need to create separate policies for many clusters with similiar configurations but with different values.
@@ -26,14 +26,7 @@ include::snippets/pgt-deprecation-notice.adoc[]
2626
2727
* xref:../edge_computing/policygenerator_for_ztp/ztp-configuring-managed-clusters-policygenerator.adoc#ztp-comparing-pgt-and-rhacm-pg-patching-strategies_ztp-configuring-managed-clusters-policygenerator[Comparing {rh-rhacm} PolicyGenerator and PolicyGenTemplate resource patching]
2828
29-
include::modules/ztp-using-rhacm-hub-cluster-templates.adoc[leveloffset=+1]
30-
31-
[role="_additional-resources"]
32-
.Additional resources
33-
34-
* link:https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/{rh-rhacm-version}/html-single/governance/index#hub-templates[{rh-rhacm} support for hub cluster templates in configuration policies]
35-
36-
include::modules/ztp-example-hub-template-functions.adoc[leveloffset=+1]
29+
* link:https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_management_for_kubernetes/{rh-rhacm-version}/html-single/governance/index#template-processing[{rh-rhacm} support for template processing in configuration policies]
3730
3831
include::modules/ztp-specifying-nics-in-pgt-crs-with-hub-cluster-templates.adoc[leveloffset=+1]
3932

modules/ztp-example-hub-template-functions.adoc

Lines changed: 0 additions & 38 deletions
This file was deleted.

modules/ztp-specifying-nics-in-pgt-crs-with-hub-cluster-templates.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ The following example shows you how to use three `ConfigMap` CRs and one `Policy
1717

1818
[NOTE]
1919
====
20-
When you use the `fromConfigmap` function, the `printf` variable is only available for the template resource `data` key fields. You cannot use it with `name` and `namespace` fields.
20+
There is a link:https://kubernetes.io/docs/concepts/configuration/configmap/#motivation[1 MiB size limit] (Kubernetes documentation) for `ConfigMap` CRs.
21+
The effective size for the `ConfigMap` CRs is further limited by the `last-applied-configuration` annotation.
22+
To avoid the `last-applied-configuration` limitation, add the following annotation to the template `ConfigMap`:
23+
24+
[source,yaml]
25+
----
26+
argocd.argoproj.io/sync-options: Replace=true
27+
----
2128
====
2229

2330
.Prerequisites

modules/ztp-using-rhacm-hub-cluster-templates.adoc

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)