Kuadrant / kuadra

A kubernetes controller for managing users and access permissions in various services
Apache License 2.0
0 stars 5 forks source link

Removed imagePullPolicy and added namespace to local config #25

Closed ehearneRedHat closed 8 months ago

ehearneRedHat commented 8 months ago

Problem:

Solution:

How to reproduce the error (main branch):

# Set up and run the cluster
kind create cluster
make install
IMG=quay.io/<namespace>/kuadra:v1 make docker-build docker-push deploy-local
# Check for imagePullPolicy error
kubectl -n kuadra-system get pods
# Remove imageNeverPull from deployment config
kubectl -n kuadra-system edit deploy kuadra-controller-manager
# Once removed, check for CreateContainerConfig error
kubectl -n kuadra-system get pods
kind delete cluster

How to confirm error is resolved (on deploy-local branch):

# Set up and run the cluster
kind create cluster
make install
IMG=quay.io/<namespace>/kuadra:v1 make docker-build docker-push deploy-local
# Check for imagePullPolicy error
kubectl -n kuadra-system get pods
R-Lawton commented 8 months ago

@dlaw4608 When you get a chance do you want to review this to?

dlaw4608 commented 8 months ago

@ehearneRedHat just approved the changes there