• AWS CLI: Error parsing AWS config file

    1 min read

    AWS parse config file .aws/config

    One mistake on the .aws/config can lead to a very imprecise error message:

    $ aws sts get-caller-identity
    (...)
    botocore.exceptions.ConfigParseError: Unable to parse config file: /home/pet2cattle/.aws/config
    

    01/12/2022

    Read more...
  • OpenShift ROSA: Get the OIDC URL within the cluster

    1 min read

    AWS Kubernetes OpenShift ROSA OIDC Identity provider

    When running a ROSA cluster (OpenShift on AWS) we might need to get it's Identity provider (OIDC) for, for example, configure STS (IRSA). We can get it directly from the cluster reading the Authentication object

    20/10/2022

    Read more...
  • Updating secrets using the External Secrets Operator

    3 min read

    Kubernetes Secret ExternalSecret Operator update

    When we are using an ExternalSecret the actual secret is stored elsewhere, being the External Secret Operator in charge of updating the Secret object with the datata if fetches from the SecretStore. What happens when the Secret is updated?

    11/10/2022

    Read more...
  • Crossplane: (not) handling secrets when defining resources

    3 min read

    crossplane kubernetes postgres RDS secret

    The best way of handling secrets is not having to: When we rely on Crossplane to create cloud resources (such as a RDS instance) we can configure it to create a secret with it's credentials so that we don't have define any secret beforehand

    06/10/2022

    Read more...
  • AWS Controllers for Kubernetes - S3

    3 min read

    kubernetes aws s3 operator

    Amazon has recently released a set of controllers (actually they are operators because they are using CRDs) to create resources on AWS using Kubernetes objects. It works in the same way it crossplane works

    Let's install an test the ACK S3

    21/09/2022

    Read more...

Older content...