Merge branch 'master' of github.com:heptio/ark

Signed-off-by: Thomas Runyon <runyontr@gmail.com>
This commit is contained in:
Thomas Runyon
2018-06-21 16:48:29 -04:00
54 changed files with 1774 additions and 362 deletions

View File

@@ -43,12 +43,18 @@ spec:
mountPath: /credentials
- name: plugins
mountPath: /plugins
- name: scratch
mountPath: /scratch
env:
- name: AWS_SHARED_CREDENTIALS_FILE
value: /credentials/cloud
- name: ARK_SCRATCH_DIR
value: /scratch
volumes:
- name: cloud-credentials
secret:
secretName: cloud-credentials
- name: plugins
emptyDir: {}
- name: scratch
emptyDir: {}

View File

@@ -36,6 +36,8 @@ spec:
- name: host-pods
hostPath:
path: /var/lib/kubelet/pods
- name: scratch
emptyDir: {}
containers:
- name: ark
image: gcr.io/heptio-images/ark:latest
@@ -49,6 +51,8 @@ spec:
mountPath: /credentials
- name: host-pods
mountPath: /host_pods
- name: scratch
mountPath: /scratch
env:
- name: NODE_NAME
valueFrom:
@@ -59,4 +63,6 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: AWS_SHARED_CREDENTIALS_FILE
value: /credentials/cloud
value: /credentials/cloud
- name: ARK_SCRATCH_DIR
value: /scratch

View File

@@ -44,11 +44,18 @@ spec:
envFrom:
- secretRef:
name: cloud-credentials
env:
- name: ARK_SCRATCH_DIR
value: /scratch
volumeMounts:
- name: plugins
mountPath: /plugins
- name: scratch
mountPath: /scratch
volumes:
- name: plugins
emptyDir: {}
- name: scratch
emptyDir: {}
nodeSelector:
beta.kubernetes.io/os: linux

View File

@@ -33,6 +33,8 @@ spec:
- name: host-pods
hostPath:
path: /var/lib/kubelet/pods
- name: scratch
emptyDir: {}
containers:
- name: ark
image: gcr.io/heptio-images/ark:latest
@@ -44,6 +46,8 @@ spec:
volumeMounts:
- name: host-pods
mountPath: /host_pods
- name: scratch
mountPath: /scratch
envFrom:
- secretRef:
name: cloud-credentials
@@ -66,4 +70,5 @@ spec:
secretKeyRef:
name: cloud-credentials
key: AZURE_STORAGE_KEY
- name: ARK_SCRATCH_DIR
value: /scratch

View File

@@ -132,6 +132,21 @@ spec:
plural: podvolumerestores
kind: PodVolumeRestore
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: resticrepositories.ark.heptio.com
labels:
component: ark
spec:
group: ark.heptio.com
version: v1
scope: Namespaced
names:
plural: resticrepositories
kind: ResticRepository
---
apiVersion: v1
kind: Namespace

View File

@@ -46,12 +46,18 @@ spec:
mountPath: /credentials
- name: plugins
mountPath: /plugins
- name: scratch
mountPath: /scratch
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /credentials/cloud
- name: ARK_SCRATCH_DIR
value: /scratch
volumes:
- name: cloud-credentials
secret:
secretName: cloud-credentials
- name: plugins
emptyDir: {}
- name: scratch
emptyDir: {}

View File

@@ -36,6 +36,8 @@ spec:
- name: host-pods
hostPath:
path: /var/lib/kubelet/pods
- name: scratch
emptyDir: {}
containers:
- name: ark
image: gcr.io/heptio-images/ark:latest
@@ -49,6 +51,8 @@ spec:
mountPath: /credentials
- name: host-pods
mountPath: /host_pods
- name: scratch
mountPath: /scratch
env:
- name: NODE_NAME
valueFrom:
@@ -59,4 +63,6 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /credentials/cloud
value: /credentials/cloud
- name: ARK_SCRATCH_DIR
value: /scratch

View File

@@ -46,12 +46,18 @@ spec:
mountPath: /credentials
- name: plugins
mountPath: /plugins
- name: scratch
mountPath: /scratch
env:
- name: AWS_SHARED_CREDENTIALS_FILE
value: /credentials/cloud
- name: ARK_SCRATCH_DIR
value: /scratch
volumes:
- name: cloud-credentials
secret:
secretName: cloud-credentials
- name: plugins
emptyDir: {}
- name: scratch
emptyDir: {}

View File

@@ -46,12 +46,18 @@ spec:
mountPath: /credentials
- name: plugins
mountPath: /plugins
- name: scratch
mountPath: /scratch
env:
- name: AWS_SHARED_CREDENTIALS_FILE
value: /credentials/cloud
- name: ARK_SCRATCH_DIR
value: /scratch
volumes:
- name: cloud-credentials
secret:
secretName: cloud-credentials
- name: plugins
emptyDir: {}
- name: scratch
emptyDir: {}

View File

@@ -36,6 +36,8 @@ spec:
- name: host-pods
hostPath:
path: /var/lib/kubelet/pods
- name: scratch
emptyDir: {}
containers:
- name: ark
image: gcr.io/heptio-images/ark:latest
@@ -49,6 +51,8 @@ spec:
mountPath: /credentials
- name: host-pods
mountPath: /host_pods
- name: scratch
mountPath: /scratch
env:
- name: NODE_NAME
valueFrom:
@@ -59,4 +63,6 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: AWS_SHARED_CREDENTIALS_FILE
value: /credentials/cloud
value: /credentials/cloud
- name: ARK_SCRATCH_DIR
value: /scratch