Skip to content

Commit 702a197

Browse files
docs: add notes around kustomize base
1 parent 05647fc commit 702a197

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/install.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,28 @@ To install trawler, you can make use of the sample yaml files within the [deploy
1212
- Uncomment servicemonitor.yaml and service.yaml if you are using the prometheus operator model.
1313
- Set secrets for password values either through base64 encoded values in secret.yaml or through your usual method for managing secrets.
1414

15+
These can either be imported to your cluster directly using `kubectl apply -k .` or to point to as a base for your own kustomize config and overlays with a kustomization.yaml which looks something like this:
16+
17+
```
18+
apiVersion: kustomize.config.k8s.io/v1beta1
19+
kind: Kustomization
20+
21+
resources:
22+
- trawler-secrets.yaml
23+
24+
configMapGenerator:
25+
- name: trawler
26+
behavior: replace
27+
files:
28+
- config.yaml
29+
30+
bases:
31+
- github.com/ibm/apiconnect-trawler//deployment?ref=main
32+
33+
namespace: apic-trawler
34+
35+
```
36+
1537
## API Manager credentials
1638

1739
For the manager_net you will need to provide trawler credentials to make the API Calls - these can either be client_credentials grants or traditional username/password. For this you will need the following permissions:

0 commit comments

Comments
 (0)