Last active
November 15, 2019 10:16
-
-
Save rajatsing/235cfe4e7e7b88d1a011c544bb71c425 to your computer and use it in GitHub Desktop.
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: rook-ceph-tools | |
namespace: rook-ceph | |
labels: | |
app: rook-ceph-tools | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: rook-ceph-tools | |
template: | |
metadata: | |
labels: | |
app: rook-ceph-tools | |
spec: | |
dnsPolicy: ClusterFirstWithHostNet | |
containers: | |
- name: rook-ceph-tools | |
image: rook/ceph:master | |
command: ["bash","-c","sudo chmod -R +x /usr/local/bin/toolbox.sh","/tini"] | |
args: ["-g", "--", "/usr/local/bin/toolbox.sh"] | |
imagePullPolicy: IfNotPresent | |
env: | |
- name: ROOK_ADMIN_SECRET | |
valueFrom: | |
secretKeyRef: | |
name: rook-ceph-mon | |
key: admin-secret | |
securityContext: | |
privileged: false | |
volumeMounts: | |
- name: mon-endpoint-volume | |
mountPath: /etc/rook | |
volumes: | |
- name: mon-endpoint-volume | |
configMap: | |
name: rook-ceph-mon-endpoints | |
items: | |
- key: data | |
path: mon-endpoints |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment