@@ -60,67 +60,57 @@ affinity: {}
60
60
61
61
# order from highest priority to the lowest
62
62
policyOrder : " ACTION,GLOBAL,WORKFLOW"
63
- globalPolicyRules :
63
+ globalPolicy :
64
64
# Insert Interface paths with Implementations. For example:
65
- #
66
- # - interface:
67
- # # Rules for exact path and revision (looked up in first place)
68
- # path: "cap.interface.database.postgresql.install"
69
- # revision: "0.1.0"
70
- # oneOf:
71
- # - implementationConstraints:
72
- # requires:
73
- # - path: "cap.type.gcp.auth.service-account"
74
- # # any revision
75
- # attributes:
76
- # - path: "cap.attribute.cloud.provider.gcp"
77
- # # any revision
78
- # inject:
79
- # typeInstances:
80
- # - id: "{uuid}"
81
- # typeRef:
82
- # path: "cap.type.gcp.auth.service-account"
83
- # revision: "0.1.0"
84
- # - implementationConstraints:
85
- # attributes:
86
- # - path: cap.attribute.cloud.provider.aws
87
- # # any revision
88
- # - implementationConstraints:
89
- # path: cap.implementation.bitnami.postgresql.install
90
- # - interface:
91
- # # Rules for exact path in any revision (looked up in second place)
92
- # path: "cap.interface.database.postgresql.install"
93
- # oneOf:
94
- # - implementationConstraints:
95
- # requires:
96
- # - path: "cap.type.gcp.auth.service-account"
97
- # # any revision
98
- # attributes:
99
- # - path: "cap.attribute.cloud.provider.gcp"
100
- # # any revision
101
-
102
- - interface :
103
- # any other Interface (looked up in third place, if there is no rule for `path` and `revision` or `path`)
104
- path : " cap.*"
105
- oneOf :
106
- - implementationConstraints : # prefer Implementation for Kubernetes
107
- requires :
108
- - path : " cap.core.type.platform.kubernetes"
109
- # any revision
110
- - implementationConstraints : {} # fallback to any Implementation
111
-
112
- testSetup :
113
- enabled : false
114
- globalPolicyRules :
115
- - interface :
116
- path : " cap.interface.capactio.capact.validation.action.passing"
117
- oneOf :
118
- - implementationConstraints :
119
- requires :
120
- - path : " cap.type.capactio.capact.validation.single-key"
121
- attributes :
122
- - path : " cap.attribute.capactio.capact.validation.policy.most-preferred"
123
- inject :
124
- requiredTypeInstances : [] # DO NOT MODIFY this line, as it is found and replaced during integration tests
125
- - implementationConstraints :
126
- path : cap.implementation.capactio.capact.validation.action.passing-a
65
+ # interface:
66
+ # rules:
67
+ # - interface:
68
+ # # Rules for exact path and revision (looked up in first place)
69
+ # path: "cap.interface.database.postgresql.install"
70
+ # revision: "0.1.0"
71
+ # oneOf:
72
+ # - implementationConstraints:
73
+ # requires:
74
+ # - path: "cap.type.gcp.auth.service-account"
75
+ # # any revision
76
+ # attributes:
77
+ # - path: "cap.attribute.cloud.provider.gcp"
78
+ # # any revision
79
+ # inject:
80
+ # typeInstances:
81
+ # - id: "{uuid}"
82
+ # typeRef:
83
+ # path: "cap.type.gcp.auth.service-account"
84
+ # revision: "0.1.0"
85
+ # - implementationConstraints:
86
+ # attributes:
87
+ # - path: cap.attribute.cloud.provider.aws
88
+ # # any revision
89
+ # - implementationConstraints:
90
+ # path: cap.implementation.bitnami.postgresql.install
91
+ # - interface:
92
+ # # Rules for exact path in any revision (looked up in second place)
93
+ # path: "cap.interface.database.postgresql.install"
94
+ # oneOf:
95
+ # - implementationConstraints:
96
+ # requires:
97
+ # - path: "cap.type.gcp.auth.service-account"
98
+ # # any revision
99
+ # attributes:
100
+ # - path: "cap.attribute.cloud.provider.gcp"
101
+ # # any revision
102
+ interface :
103
+ rules :
104
+ - interface :
105
+ # any other Interface (looked up in third place, if there is no rule for `path` and `revision` or `path`)
106
+ path : " cap.*"
107
+ oneOf :
108
+ - implementationConstraints : # prefer Implementation for Kubernetes
109
+ requires :
110
+ - path : " cap.core.type.platform.kubernetes"
111
+ # any revision
112
+ - implementationConstraints : {} # fallback to any Implementation
113
+
114
+ # # Currently, not used but setting this filed is supported by all scripts and CLI.
115
+ # testSetup:
116
+ # enabled: false
0 commit comments