Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 4443c81

Browse files
author
Jim Clark
committed
Updates to pull-oriented doc
1 parent 7eb124e commit 4443c81

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/getting_started/pull-oriented.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ a personal access token with enough scope to access the repository.
1212

1313
```
1414
GITHUB_USER=<org-or-user-name>
15-
GITHUB_TOKEN=<personal access token?
15+
GITHUB_TOKEN=<personal access token>
1616
GITHUB_REPO=<repo-name>
1717
```
1818

@@ -39,7 +39,7 @@ like this.
3939
```yaml
4040
spec:
4141
containers:
42-
- image: gcr.io/personalsdm-216019/altjserver
42+
- image: gcr.io/project/service1
4343
```
4444
4545
A `kustomization.yaml` that references this `deployment.yaml` file can update the `newTag` entry whenever
@@ -52,13 +52,17 @@ namespace: production
5252
resources:
5353
- deployment.yaml
5454
images:
55-
- name: gcr.io/personalsdm-216019/altjserver
55+
- name: gcr.io/project/service1
5656
newTag: v161
5757
```
5858

59-
In this example, an image from a repository named `gcr.io/personalsdm-216019/altjserver` can now be updated
59+
In this example, an image from a repository named `gcr.io/project/service1` can now be updated
6060
via the flux kustomization controller.
6161

62+
If you're using the `$GITHUB_USER/$GITHUB_REPO` from above, then the kustomization.yaml, and the deployment.yaml, will need
63+
to be committed to some sub-directory of `/clusters/my-cluster` (this was the value passed to `--path` above). For example you could commit
64+
these to `/clusters/my-cluster/service1_base`.
65+
6266
#### Configure automatic updates for this git repository
6367

6468
Now that Flux is monitoring this kustomizations, any updates to the `kustomization.yaml` file in the default

0 commit comments

Comments
 (0)