Skip to content

Commit 9a2c440

Browse files
authored
Merge pull request #48 from appuio/feat/support-patch-operator
Add support for patch-operator-backed patches
2 parents 4f1277a + 11f9d7d commit 9a2c440

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

component/main.jsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ local consoleRoutePatch =
162162
},
163163
};
164164
[
165-
if obj.kind == 'ResourceLocker' then
165+
if std.member([ 'ResourceLocker', 'Patch' ], obj.kind) then
166166
obj {
167167
metadata+: {
168168
annotations+: {
@@ -207,7 +207,7 @@ local openshiftConfigNsAnnotationPatch =
207207
},
208208
};
209209
[
210-
if obj.kind == 'ResourceLocker' then
210+
if std.member([ 'ResourceLocker', 'Patch' ], obj.kind) then
211211
obj {
212212
metadata+: {
213213
annotations+: {

0 commit comments

Comments
 (0)