We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e42e3d commit 0d2c56aCopy full SHA for 0d2c56a
opa/containerssh/auth.rego
@@ -2,7 +2,7 @@ package containerssh.auth
2
3
default success = false
4
5
-success = true {
+success if {
6
u := input.username
7
p := input.passwordBase64
8
record := data.users[_]
opa/containerssh/config.rego
@@ -1,9 +1,9 @@
1
package containerssh.config
-image(user) = i {
+image(user) = i if {
record.name == user
- i := record.image
+ i = record.image
} else = data.defaultImage
9
config = {
0 commit comments