Skip to content

Commit 049fc9a

Browse files
committed
fix: add policy keywords
Signed-off-by: Chris Butler <chris.butler@redhat.com>
1 parent 30121e3 commit 049fc9a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

ansible/initdata-default.toml.tpl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ url = "https://kbs.{{ hub_domain }}"
99

1010
[token_configs.kbs]
1111
url = "https://kbs.{{ hub_domain }}"
12-
cert = """
13-
{{ trustee_cert }}
14-
"""
12+
cert = """{{ trustee_cert }}"""
1513
'''
1614

1715
"cdh.toml" = '''
@@ -21,9 +19,7 @@ credentials = []
2119
[kbc]
2220
name = "cc_kbc"
2321
url = "https://kbs.{{ hub_domain }}"
24-
kbs_cert = """
25-
{{ trustee_cert }}
26-
"""
22+
kbs_cert = """{{ trustee_cert }}"""
2723

2824

2925
[image]
@@ -33,6 +29,10 @@ image_security_policy_uri = 'kbs:///default/security-policy/{{ security_policy_f
3329
"policy.rego" = '''
3430
package agent_policy
3531

32+
import future.keywords.in
33+
import future.keywords.if
34+
import future.keywords.every
35+
3636
default AddARPNeighborsRequest := true
3737
default AddSwapRequest := true
3838
default CloseStdinRequest := true
@@ -82,4 +82,4 @@ policy_data := {
8282
"curl http://127.0.0.1:8006/cdh/resource/default/attestation-status/random"
8383
]
8484
}
85-
'''
85+
'''

0 commit comments

Comments
 (0)