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

Feature: adding kubernetes #413

Merged
merged 2 commits into from
Jun 9, 2024
Merged

Feature: adding kubernetes #413

merged 2 commits into from
Jun 9, 2024

Conversation

robinmordasiewicz
Copy link
Owner

@robinmordasiewicz robinmordasiewicz commented Jun 7, 2024

Introduces the addition of Kubernetes to our project infrastructure. The changes include the following:

  1. Updated dependencies in the README.md file to include the required versions for azapi and azurerm.
  2. Added configuration in the terraform/kubernetes.tf file to define the Azure Kubernetes Cluster resource with various settings such as location, service principal, network profile, and default node pool.
  3. Defined outputs for the Kubernetes cluster, including sensitive data like client certificate, client key, cluster CA certificate, cluster password, cluster username, host, and kube config.
  4. Modified the random_pet resource in terraform/main.tf to generate the admin username for Kubernetes cluster.
  5. Added a new resource in terraform/ssh.tf to generate SSH key pair for the Kubernetes cluster.
  6. Updated the required providers in terraform/terraform.tf to include azapi provider with version "~>1.5".

By adding Kubernetes to our project infrastructure, we enhance our scalability, manageability, and deployment capabilities. This change enables us to leverage Kubernetes features for orchestrating containerized applications effectively.

Copy link
Contributor

github-actions bot commented Jun 7, 2024

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
✅ COPYPASTE jscpd yes no 1.44s
❌ REPOSITORY checkov yes 26 17.16s
✅ REPOSITORY dustilock yes no 2.63s
❌ REPOSITORY gitleaks yes 1 26.83s
✅ REPOSITORY git_diff yes no 0.11s
✅ REPOSITORY grype yes no 16.29s
❌ REPOSITORY kics yes 49 63.63s
✅ REPOSITORY secretlint yes no 1.87s
✅ REPOSITORY syft yes no 0.45s
❌ REPOSITORY trivy yes 1 8.76s
✅ REPOSITORY trivy-sbom yes no 3.04s
✅ REPOSITORY trufflehog yes no 4.73s
✅ TERRAFORM terraform-fmt 4 0 0 0.49s
❌ TERRAFORM terrascan yes 1 8.82s
✅ TERRAFORM tflint yes no 3.51s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@robinmordasiewicz robinmordasiewicz merged commit b7a7607 into main Jun 9, 2024
@robinmordasiewicz robinmordasiewicz deleted the k8s branch June 9, 2024 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant