• Helm: Get the values.yaml config template

    2 min read

    helm show values defaults

    To configure a helm chart one of the firsts steps always is to set our customizations. To do se we will need to retrive the default values.yaml. To set the values using the --set option is not really practical and can lead to errors if we push changes forgetting to set some values

    26/03/2021

    Read more...
  • Using helm from terraform

    2 min read

    terraform helm resource

    When it comes into configuring a helm chart using terraform we can configure it's values in two different ways: By using set or by pushing a template with it's values. Let's take a look:

    25/03/2021

    Read more...
  • How to get EC2 instance ID and other metadata

    1 min read

    On an EC2 instance we can retrieve some of it's metadata by using curl. Let's see how

    24/03/2021

    Read more...
  • Using data sources for retrieving data from not managed resources

    2 min read

    terraform data

    Using data sources on terraform allows us to make use of information not managed by Terraform, or defined by another separate Terraform codebase. We can use it for any resource os even an entire terraform remote state

    Let's dive in

    23/03/2021

    Read more...
  • ALB Ingress: redirect traffic to HTTPS

    2 min read

    One of the beauties of using an ALB Ingress controller on AWS is that you can configure SSL certificates for your Ingress by just defining you want to use HTTPS

    apiVersion: extensions/v1beta1
    kind: Ingress
    metadata:
      annotations:
        kubernetes.io/ingress.class: alb
        alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80},{"HTTPS":443}]'
    

    But this is going to serve the same content using HTTP and HTTPS. Configuring a SSL redirect it is also pretty straightforward but involves two steps:

    22/03/2021

    Read more...

More recent...

Older content...