Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GKE stateful blueprints #2059

Merged
merged 137 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
7a74b28
var definitions
ludoo Jul 25, 2023
6556056
skeleton, untested
ludoo Jul 26, 2023
360555a
fix errors, test with existing cluster
ludoo Jul 27, 2023
929c9ea
test vpc creation, todo notes
ludoo Jul 27, 2023
1a499dd
Merge remote-tracking branch 'origin/master' into gke-blueprints/0-redis
ludoo Jul 27, 2023
a846ddc
initial variables for AR and image
ludoo Jul 27, 2023
ee4d17a
initial variables for AR and image
ludoo Jul 27, 2023
d58115f
Add support for remote repositories to artifact-registry
juliocc Jul 27, 2023
d0a5d86
Add support for virtual repositories to artifact-registry
juliocc Jul 27, 2023
885683a
Add support for extra config options to artifact-registry
juliocc Jul 27, 2023
3916a2e
artifact registry module: add validation and precondition, fix tests
ludoo Jul 27, 2023
80abf93
ar module id/name
ludoo Jul 28, 2023
32a677e
fix merge conflicts
ludoo Jul 28, 2023
11558d9
Merge remote-tracking branch 'origin/master' into gke-blueprints/0-redis
ludoo Jul 31, 2023
4c4f2b8
registry
ludoo Jul 31, 2023
daac844
Merge remote-tracking branch 'origin/master' into gke-blueprints/0-redis
ludoo Jul 31, 2023
f0ff47c
service accoutn and roles
ludoo Jul 31, 2023
1f82a76
fetch pods, remove image prefix
ludoo Jul 31, 2023
7b053e4
small changes
ludoo Aug 1, 2023
7311e7c
Merge remote-tracking branch 'origin/master' into gke-blueprints/0-redis
ludoo Aug 1, 2023
5fe8df1
use additive IAM at project level
ludoo Aug 1, 2023
53abfa7
use additive IAM at project level
ludoo Aug 1, 2023
601f00e
configmaps
ludoo Aug 1, 2023
68099fe
manifests
ludoo Aug 1, 2023
55e0386
fix statefulset manifest
ludoo Aug 1, 2023
41a023b
service manifest
ludoo Aug 1, 2023
6a0a434
fix configmap mode
ludoo Aug 1, 2023
b1e4dae
add todo
ludoo Aug 1, 2023
d978d6e
job (broken)
ludoo Aug 1, 2023
11b6f02
job
ludoo Aug 1, 2023
04a79ba
wait on manifest, endpoints datasource
ludoo Aug 1, 2023
e300ef9
fix job
ludoo Aug 1, 2023
c0dc921
Fix local
juliocc Aug 1, 2023
935d274
sa
ludoo Aug 1, 2023
c26a6e2
Update README.md
juliocc Aug 4, 2023
bbf398b
Merge remote-tracking branch 'origin/master' into gke-blueprints/0-redis
juliocc Aug 10, 2023
ba2be5f
Restructure gke bp
juliocc Aug 11, 2023
d719643
Merge remote-tracking branch 'origin/master' into gke-blueprints/0-redis
ludoo Aug 13, 2023
b2d643c
refactor tree and infra variables
ludoo Aug 13, 2023
9bcdda1
no create test
ludoo Aug 13, 2023
6c2e788
simplify cluster SA
ludoo Aug 13, 2023
043d83c
test cluster and vpc creation
ludoo Aug 13, 2023
a0633b8
Merge remote-tracking branch 'origin/master' into gke-blueprints/0-redis
ludoo Aug 14, 2023
ab1ad49
project creation fixes
ludoo Aug 14, 2023
0263f18
Merge remote-tracking branch 'origin/master' into gke-blueprints/0-redis
ludoo Aug 14, 2023
ff1a1bf
use iam_members variable
ludoo Aug 14, 2023
7ae9cce
nits
ludoo Aug 14, 2023
bb66f01
readme with examples
ludoo Aug 14, 2023
693f465
readme with examples
ludoo Aug 14, 2023
c3a33ff
outputs
ludoo Aug 14, 2023
b3020ee
variables, provider configuration
ludoo Aug 14, 2023
cec4959
variables, manifests
ludoo Aug 14, 2023
b3b634d
start cluster job
ludoo Aug 14, 2023
4f222f6
fix redis cluster creation
danielmarzini Aug 22, 2023
ffd35bb
Revert changes in autopilot cluster
juliocc Aug 23, 2023
10efffa
Default templates path, use namespace for node names
juliocc Aug 23, 2023
1724cbe
Merge branch 'master' into gke-blueprints/0-redis
juliocc Aug 31, 2023
a21d83e
Update readmes
juliocc Aug 31, 2023
b85d782
Fix IAM bindings
juliocc Sep 1, 2023
2eda48b
Make STABLE the default release channel
juliocc Sep 1, 2023
e29d707
Use Cloud DNS as default DNS provider
juliocc Sep 1, 2023
673b7c0
Allow optional Cloud NAT creation
juliocc Sep 1, 2023
00a3827
Allow backup agent and proxy only subnet
juliocc Sep 1, 2023
a6ed59d
Merge branch 'master' into gke-blueprints/0-redis
juliocc Sep 5, 2023
9d8bc14
Work around terraform not short-circuiting logical operators
juliocc Sep 5, 2023
6292e58
Rename create variables to be more consistent with other blueprints
juliocc Sep 5, 2023
c3b4f65
Add basic features
juliocc Sep 5, 2023
8f1bf53
Update variable names
juliocc Sep 5, 2023
7873340
Merge branch 'master' into gke-blueprints/0-redis
juliocc Sep 7, 2023
730a4fd
Initial kafka JS
juliocc Sep 7, 2023
ea7301b
Move providers to a new file
juliocc Sep 7, 2023
029c6e9
Kafka / Strimzi
danielmarzini Sep 12, 2023
5237bae
First possibily working version for MySQL (with a lot of todo's left)
wiktorn Sep 15, 2023
8508668
Explicitly use proxy repo + some other fixes
wiktorn Sep 18, 2023
74e0aca
Strimzi draft
danielmarzini Sep 18, 2023
ccd2b86
Merge branch 'gke-blueprints/0-redis' of https://github.com/GoogleClo…
danielmarzini Sep 18, 2023
a4f9d8f
Refactor variables, use CluterIP as pointer for mysql-router for boot…
wiktorn Sep 18, 2023
74de348
Validate number of replicas, autoscale required number of running nod…
wiktorn Sep 18, 2023
23ac522
Use seaprate service for bootstrap, do not recreate all resources on …
wiktorn Sep 19, 2023
a057705
Test dual chart kafka
juliocc Sep 19, 2023
c24e5df
Update chart for kafka
juliocc Sep 19, 2023
f26e14f
Expose basic kafka configuration options
juliocc Sep 19, 2023
0c2f8a2
Remove unused manifest
juliocc Sep 19, 2023
97e23ba
Added batch blueprint
apichick Sep 20, 2023
887144e
Merge remote-tracking branch 'upstream/gke-blueprints/0-redis' into g…
apichick Sep 20, 2023
9c576a7
Added README
apichick Sep 20, 2023
5de993b
switch to kubectl_manifest
danielmarzini Sep 20, 2023
78549b8
Add README and support for static IP address
wiktorn Sep 21, 2023
b00874e
Move namespace creation to helm
juliocc Sep 25, 2023
a599200
Interpolate kafka variables
juliocc Sep 25, 2023
c433259
Rename kafka-strimzi to kafka
juliocc Sep 25, 2023
b06a25e
Merge branch 'master' into gke-blueprints/0-redis
juliocc Sep 25, 2023
14a73df
Merge branch 'master' into gke-blueprints/0-redis
juliocc Jan 23, 2024
4dce5db
Added TUTORIAL for cloudshell for batch blueprint
apichick Feb 6, 2024
9f9afe2
Merge remote-tracking branch 'upstream/gke-blueprints/0-redis' into g…
apichick Feb 6, 2024
423d9ef
deleted tutorial
apichick Feb 6, 2024
802bb2d
Merge branch 'master' into gke-blueprints/0-redis
juliocc Feb 6, 2024
9b7fbff
Remove commented replace trigger
wiktorn Sep 26, 2023
c90c074
Move to helm chart
wiktorn Sep 28, 2023
aff968b
WIP of Cloud Shell tutorial for MySQL
wiktorn Feb 6, 2024
9a8693e
Rename folders
juliocc Feb 6, 2024
7457964
Fix rename
juliocc Feb 6, 2024
66c7146
Update paths
juliocc Feb 6, 2024
d997304
Unify styles
juliocc Feb 6, 2024
0ac8380
Update paths
juliocc Feb 7, 2024
2e38e6d
Add Readme links
juliocc Feb 7, 2024
510a14f
Update mysql tutorial
wiktorn Feb 7, 2024
b4eb7a2
Fix path according to self-link
wiktorn Feb 7, 2024
deee95a
Use relative path to cwd
wiktorn Feb 7, 2024
553455d
Fix service_account variable location
wiktorn Feb 7, 2024
2d8380e
Fix tfvars creation
wiktorn Feb 7, 2024
97d330b
Restore some fixes for helm deployment
wiktorn Feb 7, 2024
6d9f128
Add cluster deletion_prevention
wiktorn Feb 7, 2024
55d1c81
Fixes for tutorial
wiktorn Feb 7, 2024
e289a5a
Update cluster docs
juliocc Feb 8, 2024
fe7fa23
Fixes to batch tutorial
juliocc Feb 8, 2024
86f3c91
Bare bones readme for batch
juliocc Feb 8, 2024
b0226f4
Update batch readme
juliocc Feb 8, 2024
763fc0b
README fixes
juliocc Feb 8, 2024
37e5a71
Fix README title for redis
juliocc Feb 8, 2024
0c5e110
Fix Typos
juliocc Feb 8, 2024
b16a237
Make it easy to pass variables from autopilot-cluster to other modules
wiktorn Feb 8, 2024
a2f25c2
Add connectivity test and bastion host
wiktorn Feb 8, 2024
e75d8d6
updates to readme, and gpu fix
apichick Feb 8, 2024
65705e0
Add versions.tf and README updates
juliocc Feb 8, 2024
4537a30
Merge remote-tracking branch 'origin/gke-blueprints/0-redis' into gke…
juliocc Feb 8, 2024
bad8e1d
Fix typo
juliocc Feb 8, 2024
d3c5058
Kafka and Redis README updates
juliocc Feb 8, 2024
ff33488
Merge remote-tracking branch 'origin/master' into gke-blueprints/0-redis
juliocc Feb 8, 2024
756c983
Update versions.tf
juliocc Feb 8, 2024
010b067
Fixes
juliocc Feb 8, 2024
09316f3
Add boilerplate
juliocc Feb 8, 2024
3589b49
Fix linting
juliocc Feb 8, 2024
cbe4dc3
Move mysql to separate branch
juliocc Feb 8, 2024
3fd32ae
Update cloud shell links
juliocc Feb 8, 2024
889c2c6
Fix broken link
juliocc Feb 8, 2024
cd168cc
Fix all years
juliocc Feb 8, 2024
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
Prev Previous commit
Next Next commit
fix merge conflicts
  • Loading branch information
ludoo committed Jul 28, 2023
commit 32a677e1d80307c5281b21086a933fd9989a9817
6 changes: 3 additions & 3 deletions modules/artifact-registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module "registry-virtual" {
}
}

# tftest modules=3 resources=3
# tftest modules=3 resources=3 inventory=remote-virtual.yaml
```

## Additional Docker and Maven Options
Expand Down Expand Up @@ -102,8 +102,8 @@ module "registry-maven" {
| [name](variables.tf#L93) | Registry name. | <code>string</code> | ✓ | |
| [project_id](variables.tf#L98) | Registry project id. | <code>string</code> | ✓ | |
| [description](variables.tf#L17) | An optional description for the repository. | <code>string</code> | | <code>&#34;Terraform-managed registry&#34;</code> |
| [encryption_key](variables.tf#L50) | The KMS key name to use for encryption at rest. | <code>string</code> | | <code>null</code> |
| [format](variables.tf#L23) | Repository format. | <code title="object&#40;&#123;&#10; apt &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10; docker &#61; optional&#40;object&#40;&#123;&#10; immutable_tags &#61; optional&#40;bool&#41;&#10; &#125;&#41;&#41;&#10; kfp &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10; go &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10; maven &#61; optional&#40;object&#40;&#123;&#10; allow_snapshot_overwrites &#61; optional&#40;bool&#41;&#10; version_policy &#61; optional&#40;string&#41;&#10; &#125;&#41;&#41;&#10; npm &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10; python &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10; yum &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10;&#125;&#41;">object&#40;&#123;&#8230;&#125;&#41;</code> | | <code>&#123; docker &#61; &#123;&#125; &#125;</code> |
| [encryption_key](variables.tf#L23) | The KMS key name to use for encryption at rest. | <code>string</code> | | <code>null</code> |
| [format](variables.tf#L29) | Repository format. | <code title="object&#40;&#123;&#10; apt &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10; docker &#61; optional&#40;object&#40;&#123;&#10; immutable_tags &#61; optional&#40;bool&#41;&#10; &#125;&#41;&#41;&#10; kfp &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10; go &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10; maven &#61; optional&#40;object&#40;&#123;&#10; allow_snapshot_overwrites &#61; optional&#40;bool&#41;&#10; version_policy &#61; optional&#40;string&#41;&#10; &#125;&#41;&#41;&#10; npm &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10; python &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10; yum &#61; optional&#40;object&#40;&#123;&#125;&#41;&#41;&#10;&#125;&#41;">object&#40;&#123;&#8230;&#125;&#41;</code> | | <code>&#123; docker &#61; &#123;&#125; &#125;</code> |
| [iam](variables.tf#L56) | IAM bindings in {ROLE => [MEMBERS]} format. | <code>map&#40;list&#40;string&#41;&#41;</code> | | <code>&#123;&#125;</code> |
| [labels](variables.tf#L62) | Labels to be attached to the registry. | <code>map&#40;string&#41;</code> | | <code>&#123;&#125;</code> |
| [mode](variables.tf#L73) | Repository mode. | <code title="object&#40;&#123;&#10; standard &#61; optional&#40;bool&#41;&#10; remote &#61; optional&#40;bool&#41;&#10; virtual &#61; optional&#40;map&#40;object&#40;&#123;&#10; repository &#61; string&#10; priority &#61; number&#10; &#125;&#41;&#41;&#41;&#10;&#125;&#41;">object&#40;&#123;&#8230;&#125;&#41;</code> | | <code>&#123; standard &#61; true &#125;</code> |
Expand Down
12 changes: 6 additions & 6 deletions modules/artifact-registry/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ variable "description" {
default = "Terraform-managed registry"
}

variable "encryption_key" {
description = "The KMS key name to use for encryption at rest."
type = string
default = null
}

variable "format" {
description = "Repository format."
type = object({
Expand Down Expand Up @@ -47,12 +53,6 @@ variable "format" {
}
}

variable "encryption_key" {
description = "The KMS key name to use for encryption at rest."
type = string
default = null
}

variable "iam" {
description = "IAM bindings in {ROLE => [MEMBERS]} format."
type = map(list(string))
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.