forked from k8ssandra/k8ssandra-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
71e4c2c
commit 0f64832
Showing
11 changed files
with
52 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,4 @@ build | |
*.swo | ||
*~ | ||
clientconfig | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
resources: | ||
- ../default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
namespace: default | ||
resources: | ||
- github.com/k8ssandra/cass-operator/config/default?ref=v1.8.0-rc.1 | ||
# namePrefix: cass-operator- # Can be removed in this case because cass-operator already has a namePrefix defined in the repo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
resources: | ||
- ./cass-operator | ||
- ../../config/default |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ namespace: default | |
# - | ||
|
||
resources: | ||
- ../cass-operator | ||
- ../crd | ||
- ../rbac | ||
- ../manager | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# About the kustomization structure | ||
|
||
The kustomization directories are slightly more complex than the average operator due to the dependancy on `cass-operator`. We deploy `cass-operator` using the manifests from Github to ensure that we remain up to date. | ||
|
||
## Objectives | ||
|
||
We want to achieve the following: | ||
|
||
1. Minimal modifications to the `config/` directory initially created by `operator-sdk`. | ||
2. All remote operator manifests are pulled from their home GH repositories, not kept locally. | ||
3. All local operator manifests come directly from `config/`. | ||
|
||
## Design | ||
|
||
The kustomization directories are as follows. Any kustomizations not generated by `operator-sdk` are stored in `aux-config/` rather than the templated `config/` directory. This is where we deploy k8ssandra-operator from when we want to include all its dependancies. | ||
|
||
``` | ||
┌──────────────┐ ┌───────────────┐ | ||
│ control_plane│ │ cass-operator │ | ||
└─────────────┬┘ └──────▲────────┘ | ||
│ │ | ||
│ ┌───────┐ │ | ||
└──────────►default├──────┤ | ||
└───▲───┘ │ | ||
┌─────────────┐ │ │ | ||
│ data_plane ├─────────────┘ │ | ||
└─────────────┘ │ | ||
│ | ||
┌───────────▼─────────────────────┐ | ||
│k8ssandra-operator/config/default│ | ||
└────┬───────────┬────────────┬───┘ | ||
│ │ │ | ||
│ │ │ | ||
┌───▼───┐ ┌───▼───┐ ┌────▼──┐ | ||
│ rbac │ │ crd │ │manager│ | ||
└───────┘ └───────┘ └───────┘ | ||
``` |
This file was deleted.
Oops, something went wrong.