Skip to content

Commit 7795d4f

Browse files
committed
Add complete tutorial
1 parent c602c29 commit 7795d4f

20 files changed

+554
-34
lines changed

README.md

Lines changed: 314 additions & 34 deletions
Large diffs are not rendered by default.

docs/adding-write-keys.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# For Github
2+
3+
Go to the _Settings_ tab for your repository.
4+
5+
![](../resources/github-key-settings.png?raw=true)
6+
7+
Add your key and make sure you toggle write access.
8+
9+
![](../resources/add-key-to-github.png?raw=true)
10+
11+
You're done :)
12+
13+
# For Bitbucket
14+
15+
For Bitbucket, you'll need to add the key to your profile instead of a repository for it to have write access. You can do this from your profile, a link for which you'll find at the bottom left of your screen when logged in:
16+
17+
![](../resources/bitbucket-profile.png?raw=true)
18+
19+
Then, add a new key to your profile:
20+
21+
![](../resources/bitbucket-add-key.png?raw=true)
22+
23+
![](../resources/bitbucket-key.png?raw=true)
24+
25+

docs/digitalocean-install.md

Whitespace-only changes.

docs/digitalocean-teardown.md

Whitespace-only changes.

docs/gke-install.md

Whitespace-only changes.

docs/gke-teardown.md

Whitespace-only changes.

docs/minikube-install.md

Whitespace-only changes.

docs/minikube-teardown.md

Whitespace-only changes.

examples/podinfo-dep.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
apiVersion: apps/v1beta1 # for versions before 1.6.0 use extensions/v1beta1
3+
kind: Deployment
4+
metadata:
5+
name: podinfo
6+
spec:
7+
replicas: 1
8+
template:
9+
metadata:
10+
labels:
11+
app: podinfo
12+
spec:
13+
containers:
14+
- name: podinfo
15+
image: quay.io/stefanprodan/podinfo:1.0.0
16+
ports:
17+
- containerPort: 3000

flux/flux-account.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
# The service account, cluster roles, and cluster role binding are
3+
# only needed for Kubernetes with role-based access control (RBAC).
4+
apiVersion: v1
5+
kind: ServiceAccount
6+
metadata:
7+
labels:
8+
name: flux
9+
name: flux
10+
---
11+
apiVersion: rbac.authorization.k8s.io/v1beta1
12+
kind: ClusterRole
13+
metadata:
14+
labels:
15+
name: flux
16+
name: flux
17+
rules:
18+
- apiGroups: ['*']
19+
resources: ['*']
20+
verbs: ['*']
21+
- nonResourceURLs: ['*']
22+
verbs: ['*']
23+
---
24+
apiVersion: rbac.authorization.k8s.io/v1beta1
25+
kind: ClusterRoleBinding
26+
metadata:
27+
labels:
28+
name: flux
29+
name: flux
30+
roleRef:
31+
apiGroup: rbac.authorization.k8s.io
32+
kind: ClusterRole
33+
name: flux
34+
subjects:
35+
- kind: ServiceAccount
36+
name: flux
37+
namespace: default

0 commit comments

Comments
 (0)