-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #727 from sjberman/docs
Config example for credentials directory
- Loading branch information
1 parent
e753869
commit 61ba135
Showing
3 changed files
with
48 additions
and
1 deletion.
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
43 changes: 43 additions & 0 deletions
43
docs/_static/config_examples/example-bigip-credentials-directory.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,43 @@ | ||
# Sample configuration for k8s-bigip-ctlr. BIG-IP configuration is mounted | ||
# from the secret store into the controller. | ||
apiVersion: extensions/v1beta1 | ||
kind: Deployment | ||
metadata: | ||
name: k8s-bigip-ctlr | ||
namespace: kube-system | ||
spec: | ||
replicas: 1 | ||
template: | ||
metadata: | ||
name: k8s-bigip-ctlr | ||
labels: | ||
app: k8s-bigip-ctlr | ||
spec: | ||
serviceAccountName: bigip-ctlr-serviceaccount | ||
containers: | ||
- name: k8s-bigip-ctlr | ||
image: "f5networks/k8s-bigip-ctlr" | ||
command: ["/app/bin/k8s-bigip-ctlr"] | ||
args: ["--running-in-cluster=true", | ||
"--credentials-directory=/tmp/creds", | ||
"--bigip-partition=k8s", | ||
"--namespace=default", | ||
] | ||
volumeMounts: | ||
- name: bigip-creds | ||
mountPath: "/tmp/creds" | ||
readOnly: true | ||
volumes: | ||
- name: bigip-creds | ||
secret: | ||
secretName: bigip-credentials | ||
imagePullSecrets: | ||
- name: f5-docker-images | ||
|
||
--- | ||
|
||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: bigip-ctlr-serviceaccount | ||
namespace: kube-system |
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