-
Notifications
You must be signed in to change notification settings - Fork 7
infra: upgrade Kubernetes version to 1.32 #818
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
Closed
Closed
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
c730afe
Bump EKS to 1.33
heliocodacy 320b533
replace bitnami with bitnamilegacy
heliocodacy 2330fd3
Update variables.tf
ricardobernardino2024 759dfbc
Update requirements.yaml
ricardobernardino2024 502d379
Update values-microk8s.yaml
ricardobernardino2024 8c0c7a4
Update values-production.yaml
ricardobernardino2024 3399fcc
Update config.yml
ricardobernardino2024 a12c10b
Update Makefile
ricardobernardino2024 f6b6499
Update config.yml
ricardobernardino2024 d4c592b
Update variables.tf
ricardobernardino2024 3721717
Update variables.tf
ricardobernardino2024 dc79bd4
Update config.yml
ricardobernardino2024 053336b
Update Makefile
ricardobernardino2024 04c05f2
Update config.yml
ricardobernardino2024 9095da6
Update requirements.yaml
ricardobernardino2024 7ea4c74
test: orb with snap install
CallMeLeopoldo 354b2a0
test: orb with snap install
CallMeLeopoldo 06c844a
test: orb with snap install
CallMeLeopoldo 58adb08
increase api resources
CallMeLeopoldo ac5979f
evaluate replicaCount
CallMeLeopoldo 3fc964b
evaluate replicaCount
CallMeLeopoldo 720d1e1
evaluate replicaCount
CallMeLeopoldo e4d1d8a
retry 20 minute timeout
CallMeLeopoldo 165a099
trigger new commit
CallMeLeopoldo 6ecae56
change repository for bitnami chart
CallMeLeopoldo 7a5a255
change repository for bitnami chart rabbitmq
CallMeLeopoldo d3a8845
add resources to engine and portal
CallMeLeopoldo b95e5f9
add docker-credentials and vhost
CallMeLeopoldo 7a98f68
test short pass and username
CallMeLeopoldo 8cae823
test 3.8.35 for rabbitmq
CallMeLeopoldo 3359796
trigger change
CallMeLeopoldo fa0faaf
test manually created credentials with existing secret
CallMeLeopoldo 9db5ea5
pass value
CallMeLeopoldo c6194bb
test default values
CallMeLeopoldo e20039d
test rabbitmq default password
CallMeLeopoldo 010745c
test persistence to false
CallMeLeopoldo 3493f4e
create user in load definitions
CallMeLeopoldo b27b67b
create user in load definitions
CallMeLeopoldo 11a373a
put temporary password
CallMeLeopoldo 67e737e
cleanup
CallMeLeopoldo abd6e1f
cleanup
CallMeLeopoldo ef980f5
restore check in PR
CallMeLeopoldo d9fc1f7
restore check in PR
CallMeLeopoldo a03803f
change name of job
CallMeLeopoldo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| version: 2.1 | ||
|
|
||
| orbs: | ||
| codacy: codacy/base@11.0.0 | ||
| codacy: codacy/base@12.3.1 | ||
| slack: circleci/[email protected] | ||
|
|
||
| references: | ||
|
|
@@ -557,14 +557,25 @@ workflows: | |
| requires: | ||
| - plan_dev_cluster | ||
| - codacy/microk8s_install: | ||
| name: install_k8s-1.30_helm-3.16.3_unstable | ||
| name: install-k8s-unstable | ||
| helm_repo: "https://charts.codacy.com/unstable" | ||
| chart_version: $(cat .version) | ||
| microk8s_channel: "1.30/stable" | ||
| helm_version: "v3.16.3" | ||
| helm_timeout: 1200 | ||
| context: CodacyDocker | ||
| docker_username: $DOCKER_USER | ||
| requires: | ||
| - helm_push_unstable | ||
| - codacy/microk8s_install: | ||
| name: install_k8s-1.32_helm-3.19.0_unstable | ||
| helm_repo: "https://charts.codacy.com/unstable" | ||
| chart_version: $(cat .version) | ||
| microk8s_channel: "1.32/stable" | ||
| helm_version: "v3.19.0" | ||
| helm_timeout: 1200 | ||
| context: CodacyDocker | ||
| docker_username: $DOCKER_USER | ||
| docker_password: $DOCKER_PASS | ||
| <<: *helm_values | ||
| requires: | ||
|
|
@@ -810,7 +821,7 @@ workflows: | |
| <<: *helm_values | ||
| requires: | ||
| - helm_push_incubator | ||
|
|
||
| - codacy/microk8s_install: | ||
| name: install_k8s-1.30_helm-3.16.3 | ||
| helm_repo: "https://charts.codacy.com/incubator" | ||
|
|
@@ -825,6 +836,20 @@ workflows: | |
| requires: | ||
| - helm_push_incubator | ||
|
|
||
| - codacy/microk8s_install: | ||
| name: install_k8s-1.32_helm-3.19.0 | ||
| helm_repo: "https://charts.codacy.com/incubator" | ||
| chart_version: $(cat .version) | ||
| microk8s_channel: "1.32/stable" | ||
| helm_version: "v3.19.0" | ||
| helm_timeout: 1200 | ||
| context: CodacyDocker | ||
| docker_username: $DOCKER_USER | ||
| docker_password: $DOCKER_PASS | ||
| <<: *helm_values | ||
| requires: | ||
| - helm_push_incubator | ||
|
|
||
| - test_api: | ||
| context: CodacyAWS | ||
| requires: | ||
|
|
@@ -870,6 +895,7 @@ workflows: | |
| - install_k8s-1.28_helm-3.9 | ||
| - install_k8s-1.29_helm-3.16.3 | ||
| - install_k8s-1.30_helm-3.16.3 | ||
| - install_k8s-1.32_helm-3.19.0 | ||
| - manual_solutions_eng_hold: | ||
| type: approval | ||
| context: CodacyDO | ||
|
|
@@ -890,6 +916,7 @@ workflows: | |
| - install_k8s-1.28_helm-3.9 | ||
| - install_k8s-1.29_helm-3.16.3 | ||
| - install_k8s-1.30_helm-3.16.3 | ||
| - install_k8s-1.32_helm-3.19.0 | ||
| - set_chart_version_release: | ||
| context: CodacyDO | ||
| requires: | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -40,5 +40,10 @@ stringData: | |
| "type": "classic", | ||
| "vhost": "/" | ||
| } | ||
| ], | ||
| "vhosts": [ | ||
| { | ||
| "name": "/" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -140,8 +140,8 @@ | |
|
|
||
| rabbitmq: | ||
| create: true | ||
| rabbitmqUsername: rabbitmq-codacy | ||
| rabbitmqPassword: rabbitmq-codacy | ||
| rabbitmqUsername: "rabbitmq-codacy" | ||
| rabbitmqPassword: "CHANGEME" | ||
| rabbitmqvHost: "/" | ||
| host: codacy-rabbitmq-ha | ||
| port: 5672 | ||
|
|
@@ -278,16 +278,53 @@ | |
| crow: | ||
| create: true | ||
|
|
||
| codacy-api: | ||
| replicaCount: 2 | ||
| resources: | ||
| limits: | ||
| cpu: 1000m | ||
| memory: 2000Mi | ||
| requests: | ||
| cpu: 500m | ||
| memory: 2000Mi | ||
|
|
||
| engine: | ||
| replicaCount: 1 | ||
| resources: | ||
| limits: | ||
| cpu: 2000m | ||
| memory: 3000Mi | ||
| requests: | ||
| cpu: 200m | ||
| memory: 3000Mi | ||
|
|
||
| portal: | ||
| replicaCount: 1 | ||
| resources: | ||
| limits: | ||
| cpu: 500m | ||
|
Check warning on line 305 in codacy/values.yaml
|
||
| memory: 1Gi | ||
| requests: | ||
| cpu: 200m | ||
| memory: 200Mi | ||
|
|
||
| ## YOU ARE NOT ADVISED TO CHANGE BEYOND THIS POINT | ||
|
|
||
| ## Defaults for Internal Storage coming from requirements | ||
| ## These values are ignored if 'create: false' in the global variables | ||
|
|
||
| rabbitmq-ha: | ||
| rabbitmqErlangCookie: "PLEASE_CHANGE_ME_TO_A_RANDOM_STR" # Generate one with `cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1` | ||
| fullnameOverride: codacy-rabbitmq-ha | ||
| global: | ||
| imagePullSecrets: | ||
| - docker-credentials | ||
| image: | ||
| repository: bitnamilegacy/rabbitmq | ||
| tag: "3.8.35-debian-11-r5" | ||
| auth: | ||
| username: "rabbitmq-codacy" | ||
| password: "rabbitmq-codacy" | ||
| username: rabbitmq-codacy | ||
| password: rabbitmq-codacy | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy found an issue: Base64 High Entropy String |
||
| prometheus: | ||
| operator: | ||
| enabled: false | ||
|
|
@@ -301,7 +338,9 @@ | |
| postgres: | ||
| fullnameOverride: codacy-postgres | ||
| imageTag: "9.6.2" | ||
| image: | ||
| repository: bitnamilegacy/postgresql | ||
| tag: "11.7.0" | ||
| persistence: | ||
| enabled: false | ||
| # storageClass: | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: When you set a fractional CPU limit on a container, the CPU cycles available will be throttled, even though most nodes can handle processes alternating between using 100% of the CPU.