Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-19582

[RFE] Expose the "ago" sprig function with GRC policies

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • 100% To Do, 0% In Progress, 0% Done

      Feature Overview:

      The Customer would like to have all sprig functions with GRC policies.

      For example:

      https://masterminds.github.io/sprig/date.html

      Perhaps other functions are missing as well, They'd like to use the full sprig suite.

      https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_management_for_kubernetes/2.12/html-single/governance/index#template_function_descriptions

      For now they were able to achieve the date using this:

      hub (now.Sub (toDate "2006-1-2T15:04:05Z" (fromConfigMap "acm-policies" "etcd-backup" "backup_date"))).String hub

      But they are interested in having all the sprig functions anyways.

              jkulikau@redhat.com Justin Kulikauskas
              rhn-support-mlele Mihir Lele
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: