Categories
Containerisation Containers DevOps Kubernetes

Minikube: Deploy a container using a private image registry

This post is mainly for wanting to test a private image on your local k8s instance. At this point in time I feel minikube is the lightweight standard for this. You should have a private registry with the image you want to deploy, otherwise – use a public image. Getting Started Install minikube Once minikube […]

Categories
Containerisation Containers Continuous Integration DevOps git Uncategorized

Cannot use harbor robot account ImagePullBackOff pull access denied

This post is mainly about harbor robot accounts. Robot accounts are accounts used to run automated operations and have no access to the frontend. The account to use in your continuous integration or k8s registry secrets. You create a robot account by going to: Project -> Robot Accounts -> New Robot Account The Problem $ […]

Categories
Containerisation Containers Continuous Integration git

Use Self-hosted Gitlab to build and deploy images to Harbor

I have a gitlab version control and CI instance running. I also have a Harbor registry running. Now I want to ensure the I can build and push images from gitlab onto harbor using gitlab’s continuous integration and continuous deployment (CI/CD). First Steps Create a git repo on gitlab with your Dockerfile Create a user […]

Categories
IAM Keycloak

Integrating Keycloak and Harbor Registry with OpenID Connect

The documentation for setting up an OpenIDC identity provider / authentication method for Harbor Registry can be found in the harbor docs. Harbor has supported OIDC since version 1.8. Importantly: You can change the authentication mode from database to OIDC only if no local users have been added to the database. If there is at […]

Categories
GNU/Linux python

Prerequisite Packages and Compiling Python 3 on CentOS

What are the prerequisite packages for a complete python3 compilation install? You will always get issues like Pip not being able to access pypi because the openssl module was not installed. Other things need the gcc compiler and such. Recently I got this warning: Could not import the lzma module. Your installed Python is incomplete. […]