Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
0791a3b
Add Flux v0.13.2 component manifests
May 17, 2021
7e99247
Add Flux sync manifests
May 17, 2021
d6bd597
Small update to README
mccullya May 17, 2021
1c51d04
Adjusting secret script to include namespace
mccullya May 17, 2021
3cdf219
updating SR CR identifier
mccullya May 18, 2021
fb025ab
debug by removing config overrides
mccullya May 18, 2021
1c137cd
updating secret name
mccullya May 18, 2021
4cfef4f
changing secret credential
mccullya May 18, 2021
2356abb
working deployment with all services available
mccullya May 18, 2021
74788d0
rework of secrets, introducing multi-environment deployment
mccullya May 18, 2021
dc2a4c1
Add Flux v0.13.2 component manifests
May 18, 2021
8ed7e61
Add Flux sync manifests
May 18, 2021
6b45730
added git ignore adjusted secrets
mccullya May 18, 2021
1daa661
wip of multi-environments
mccullya May 18, 2021
fb019f7
wip with docker secrets
mccullya May 18, 2021
d3ba3b8
correcting order of kustomize
mccullya May 18, 2021
91effdb
wip
mccullya May 18, 2021
8da894e
wip
mccullya May 18, 2021
991f131
debug
mccullya May 18, 2021
a651d5f
bad file reference
mccullya May 18, 2021
d498653
debug
mccullya May 18, 2021
3f8122f
debug
mccullya May 18, 2021
5d69fb7
debug
mccullya May 18, 2021
ce9900a
updated
mccullya May 18, 2021
efe8657
changing operator
mccullya May 18, 2021
d8fd53a
adding CRDs direct to repo
mccullya May 18, 2021
97eb97d
debug
mccullya May 18, 2021
756bc49
debug
mccullya May 18, 2021
cd3149d
debug
mccullya May 18, 2021
7dde5bc
debug
mccullya May 18, 2021
6a41fae
deubg
mccullya May 18, 2021
37161c3
debug
mccullya May 18, 2021
2c2dc85
debug
mccullya May 18, 2021
da0796d
adding envs
mccullya May 18, 2021
73d12e9
getting rid of prefix
mccullya May 18, 2021
646e93a
updating
mccullya May 18, 2021
ef47464
debug
mccullya May 18, 2021
10e2dff
updating sync
mccullya May 18, 2021
567f69d
Revert "updating sync"
mccullya May 18, 2021
3542d72
debug
mccullya May 18, 2021
c59402b
adding helm release dpeendency
mccullya May 18, 2021
1f242f8
debug
mccullya May 19, 2021
72b765d
working deployment
mccullya May 19, 2021
bb00e71
introducing environment patches
mccullya May 19, 2021
d3fa47b
limit deploy to dev
mccullya May 19, 2021
e92d503
move to GA confluent operator
mccullya May 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.idea
sensitive-*
identity
identity.pub
known_hosts
68 changes: 0 additions & 68 deletions GETTINGSTARTED.md

This file was deleted.

22 changes: 22 additions & 0 deletions MANUAL_PROCESS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Deploy base Flux components
* Navigate to ./flux-system
* Run `kubectl apply -f gotk-components.yaml`

## Add GitHub Deploy Key
* Navigate to ./resources/git
* Generate identity, identity.pub, knownhosts file
* Add identity.pub to 'deploy keys' in github
* run git_repo.sh

[comment]: <> (## Deploy confluent-helm chart secrets)

[comment]: <> (* Navigate to ./resources/confluent-helm)

[comment]: <> (* Set ENV Vars)

[comment]: <> (* run `senstive_secrets.sh`)

## Deploy Flux Sync
* Navigate to ./flux-system
* run `kubectl apply -f gotk-sync.yaml`

15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Following this example, you'll set up secure Confluent Platform clusters with SA
```sh
export GITHUB_TOKEN=<your-token>
export GITHUB_USER=<your-username>
export GITHUB_REPO=<repository-name>
export GITHUB_REPO=<repository-name (i.e. kafka-gitops)>
```

2. After forking and cloning the repository, navigate to the project root and verify that your production cluster folder satisfies the prerequisites with:
Expand All @@ -123,6 +123,16 @@ flux bootstrap github \
--personal \
--path=clusters/production
```

```sh
flux bootstrap github \
--owner=${GITHUB_USER} \
--repository=${GITHUB_REPO} \
--branch=develop-andrewmccully \
--personal \
--path=kustomize
```

4. Deploy the secrets required by the application. The secrets referenced in `./resources/populate_secrets.sh` will match up to the LDAP/LDIFs located at `./infrastructure/tools/ldap.yaml`
```sh
./resources/populate_secrets.sh
Expand All @@ -134,7 +144,7 @@ export USER=<user id here (often same as email)>
export APIKEY=<API KEY sent via email>
export EMAIL=<user email here>

kubectl create secret docker-registry confluent-registry -n confluent \
kubectl create secret docker-registry confluent-registry -n dev \
--docker-server=confluent-docker-internal-early-access-operator-2.jfrog.io \
--docker-username=$USER \
--docker-password=$APIKEY \
Expand All @@ -159,6 +169,7 @@ $ watch flux get helmreleases --all-namespaces

* Decode secrets
`kubectl get secrets -n flux-system https-credentials -o json | jq '.data | map_values(@base64d)'`
`kubectl get secrets -n flux-system flux-system -o json | jq '.data | map_values(@base64d)'`

* Access Control Centre
`kubectl port-forward -n confluent controlcenter-0 9021:9021`. The web UI credentials will be c3/c3-secret (as defined by the populated secrets)
Expand Down
15 changes: 0 additions & 15 deletions clusters/production/apps.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions clusters/production/infrastucture.yaml

This file was deleted.

Loading