Skip to content

Commit

Permalink
Merge pull request #8 from appuio/bug/propagate-schedule
Browse files Browse the repository at this point in the history
Propagate schedule to GroupSync resource
  • Loading branch information
ccremer authored Oct 12, 2021
2 parents f485b7b + 2dca294 commit 13a9c09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions component/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ local groupSyncs = std.filter(
},
},
spec: {
schedule: params.sync[k].schedule,
providers: [
{ name: p } + patchProvider(params.sync[k].providers[p])
for p in std.objectFields(params.sync[k].providers)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ spec:
credentialsSecret:
name: foo-keycloak
namespace: syn-group-sync-operator
schedule: '* * * * *'
---
apiVersion: redhatcop.redhat.io/v1alpha1
kind: GroupSync
Expand All @@ -49,3 +50,4 @@ spec:
name: other-foo
namespace: syn-group-sync-operator
name: foo
schedule: '* * 2 * *'

0 comments on commit 13a9c09

Please sign in to comment.