Skip to content

Commit

Permalink
Merge pull request #48 from appuio/feat/support-patch-operator
Browse files Browse the repository at this point in the history
Add support for patch-operator-backed patches
  • Loading branch information
simu authored Feb 21, 2023
2 parents 4f1277a + 11f9d7d commit 9a2c440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ local consoleRoutePatch =
},
};
[
if obj.kind == 'ResourceLocker' then
if std.member([ 'ResourceLocker', 'Patch' ], obj.kind) then
obj {
metadata+: {
annotations+: {
Expand Down Expand Up @@ -207,7 +207,7 @@ local openshiftConfigNsAnnotationPatch =
},
};
[
if obj.kind == 'ResourceLocker' then
if std.member([ 'ResourceLocker', 'Patch' ], obj.kind) then
obj {
metadata+: {
annotations+: {
Expand Down

0 comments on commit 9a2c440

Please sign in to comment.