-
Notifications
You must be signed in to change notification settings - Fork 891
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the kubeflow-m2m-oidc-configurator a CronJob
Signed-off-by: Krzysztof Romanowski <krzysztof.romanowski.kr3@roche.com>
- Loading branch information
1 parent
9fa11e0
commit 65932a6
Showing
4 changed files
with
45 additions
and
42 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
.../configure-self-signed-kubernetes-oidc-issuer/cronjob.kubeflow-m2m-oidc-configurator.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: batch/v1 | ||
kind: CronJob | ||
metadata: | ||
name: kubeflow-m2m-oidc-configurator | ||
namespace: istio-system | ||
spec: | ||
schedule: '* * * * *' | ||
jobTemplate: | ||
spec: | ||
ttlSecondsAfterFinished: 60 | ||
template: | ||
metadata: | ||
labels: {} | ||
spec: | ||
restartPolicy: OnFailure | ||
serviceAccountName: kubeflow-m2m-oidc-configurator | ||
containers: | ||
- image: curlimages/curl | ||
name: kubeflow-m2m-oidc-configurator | ||
command: | ||
- /script.sh | ||
envFrom: | ||
- configMapRef: | ||
name: kubeflow-m2m-oidc-configurator-envs | ||
volumeMounts: | ||
- mountPath: /script.sh | ||
name: script | ||
subPath: script.sh | ||
resources: {} | ||
volumes: | ||
- name: script | ||
configMap: | ||
name: kubeflow-m2m-oidc-configurator-script | ||
defaultMode: 0777 | ||
items: | ||
- key: script.sh | ||
path: script.sh |
34 changes: 0 additions & 34 deletions
34
...netes-oidc-issuer/job.configure-kubernetes-oidc-issuer-jwks-in-requestauthentication.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters