Skip to content

Commit

Permalink
Implement workload initializer in stash operator (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dipta Das authored and tamalsaha committed Nov 11, 2017
1 parent 2739bf1 commit 51530be
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions hack/deploy/initializer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: admissionregistration.k8s.io/v1alpha1
kind: InitializerConfiguration
metadata:
name: stash-initializer
initializers:
- name: stash.appscode.com
rules:
- apiGroups:
- "*"
apiVersions:
- "*"
resources:
- daemonsets
- deployments
- jobs
- replicasets
- replicationcontrollers
- statefulsets
2 changes: 1 addition & 1 deletion hack/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def test(type, *args):
if type == 'unit':
die(call(libbuild.GOC + ' test -v ./pkg/...'))
elif type == 'e2e':
die(call('ginkgo -r --v --progress --trace -- --v=3'))
die(call('ginkgo -r --v --progress --trace -- ' + " ".join(args)))
else:
print '{test unit|e2e}'

Expand Down

0 comments on commit 51530be

Please sign in to comment.