Skip to content

Commit

Permalink
cherry pick rock, workingdir fix to main (#133)
Browse files Browse the repository at this point in the history
* explicitly set workingdir for workload in charm.py (#128)

* use rock for oidc-authservice on `main` for ckf-1.8 (#132)

Closes #131
  • Loading branch information
ca-scribner authored Jan 29, 2024
1 parent 3052142 commit 3d761e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resources:
type: oci-image
description: 'Backing OCI image'
auto-fetch: true
upstream-source: docker.io/kubeflowmanifestswg/oidc-authservice:e236439
upstream-source: charmedkubeflow/oidc-authservice:ckf-1.8-58e8217
peers:
client-secret:
interface: client-secret
Expand Down
3 changes: 3 additions & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ def _oidc_layer(self):
"command": "/home/authservice/oidc-authservice",
"environment": self.service_environment,
"startup": "enabled",
# See https://github.com/canonical/oidc-gatekeeper-operator/pull/128
# for context on why we need working-dir set here.
"working-dir": "/home/authservice",
}
},
}
Expand Down

0 comments on commit 3d761e7

Please sign in to comment.