-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using oc login causes issues with what we would like to do in the future with respect to user impersonation, etc. Simply having a `/opt/apb/.kube/config file` makes it so that our APBs will run in the cluster as we expect them to (since the service account token and CA are in known locations). This also allows for us to run APBs as sytem:admin using docker as we continue to investigate APBs w/o an Ansible Broker.
- Loading branch information
Showing
6 changed files
with
23 additions
and
16 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: v1 | ||
clusters: | ||
- cluster: | ||
certificate-authority: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt | ||
server: https://kubernetes.default:443 | ||
name: kubernetes | ||
contexts: | ||
- context: | ||
cluster: kubernetes | ||
user: apb-user | ||
name: /kubernetes/apb-user | ||
current-context: /kubernetes/apb-user | ||
kind: Config | ||
preferences: {} | ||
users: | ||
- name: apb-user | ||
user: | ||
tokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token |
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 was deleted.
Oops, something went wrong.