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

ConfigMap Error from controller #286

Closed
xorl opened this issue Mar 1, 2024 · 5 comments
Closed

ConfigMap Error from controller #286

xorl opened this issue Mar 1, 2024 · 5 comments
Labels
question Further information is requested

Comments

@xorl
Copy link
Contributor

xorl commented Mar 1, 2024

Hello,

I have installed kubero following the guides on a native IPv6 cluster, had to fix the Nginx ingress annotations to get the nginx ingress controller but now I am getting the following error on the operator controller.

2024/03/01 09:41:17 warning: cannot overwrite table with non table for kubero.kubero.config (map[buildpacks:[map[build:map[command:npm install repository:node securityContext:map[runAsUser:1000] tag:latest] fetch:map[repository:ghcr.io/kubero-dev/buildpacks/fetch securityContext:map[runAsUser:1000] tag:v1.2] language:JavaScript name:NodeJS run:map[command:node index.js repository:node tag:latest]] map[build:map[command:composer install; chown -R 1000:1000 /app repository:composer tag:latest] fetch:map[repository:ghcr.io/kubero-dev/buildpacks/fetch securityContext:map[runAsUser:1000] tag:v1.2] language:PHP name:PHP run:map[command:apache2-foreground readOnlyAppStorage:false repository:webdevops/php-apache securityContext:map[allowPrivilegeEscalation:true readOnlyRootFilesystem:false] tag:8.1]] map[build:map[command:python3 -m venv .venv && . .venv/bin/activate && pip install -r requirements.txt repository:python tag:3.10-buster] fetch:map[repository:ghcr.io/kubero-dev/buildpacks/fetch securityContext:map[runAsUser:1000] tag:v1.2] language:Python name:Python run:map[command:. .venv/bin/activate && python3 main.py repository:python tag:3.10-buster]] map[build:map[command:go mod download && go mod verify && go build -v -o app repository:golang tag:alpine] fetch:map[repository:ghcr.io/kubero-dev/buildpacks/fetch securityContext:map[runAsUser:1000] tag:v1.2] language:GoLang name:GoLang run:map[command:./app repository:golang tag:alpine]] map[build:map[command:hugo -D repository:klakegg/hugo tag:latest] fetch:map[repository:ghcr.io/kubero-dev/buildpacks/fetch securityContext:map[runAsUser:1000] tag:v1.2] language:GoLang name:Hugo run:map[command:caddy file-server --listen :8080 --root /app/public repository:caddy tag:latest]] map[build:map[command:export GEM_HOME=/app/bundle; bundle install --jobs=4 --retry=3 repository:ruby tag:2.7] fetch:map[repository:ghcr.io/kubero-dev/buildpacks/fetch securityContext:map[runAsUser:1000] tag:v1.2] language:Ruby name:Ruby run:map[command:export GEM_HOME=/app/bundle; bundle exec ruby main.rb repository:ruby tag:2.7]] map[build:map[command:echo 'Buildpack not required' repository:busybox tag:latest] fetch:map[repository:ghcr.io/kubero-dev/buildpacks/fetch securityContext:map[runAsUser:1000] tag:v1.2] language:HTML name:Static run:map[command:caddy file-server --listen :8080 --root /app repository:caddy tag:latest]]] clusterissuer:letsencrypt-prod kubero:map[banner:map[bgcolor:#8560A9 fontcolor:azure message:Welcome to Kubero! show:false] console:map[enabled:false] readonly:false] podSizeList:[map[default:true description:Small (CPU: 0.25, Memory: 0.5Gi) name:small resources:map[limits:map[cpu:500m memory:1Gi] requests:map[cpu:250m memory:0.5Gi]]] map[description:Medium (CPU: 1, Memory: 2Gi) name:medium resources:map[limits:map[cpu:2000m memory:4Gi] requests:map[cpu:1000m memory:2Gi]]] map[active:false description:Large (CPU: 2, Memory: 4Gi) name:large resources:map[requests:map[cpu:2000m memory:4Gi]]]] templates:map[catalogs:[map[description:Kubero templates index:map[format:json url:https://raw.githubusercontent.com/kubero-dev/templates/main/index.json] name:Kubero templateBasePath:https://raw.githubusercontent.com/kubero-dev/kubero/main/services/] map[description:Kubero templates index:map[format:json url:https://raw.githubusercontent.com/kubero-dev/templates/main/index-frameworks.json] name:Kubero Frameworks templateBasePath:https://raw.githubusercontent.com/kubero-dev/kubero/main/services/]] enabled:true]])

I manually edit the config.yaml in the configmap and it just overwrites it with the following:

config.yaml: |
  ""

Any help would be appreciated.

@mms-gianni
Copy link
Member

I'm interested in your ingress Nginx annotations.

The configmap is managed by the operator. You need to edit the CRD from kubero with

kubectl edit kuberoes kubero -n kubero

I'm not sure if this change restarts the container. This is required.

I'm currently working on an improvement here :
#284

@mms-gianni
Copy link
Member

BTW: Which Operato and Kubero UI version are you running?

@xorl
Copy link
Contributor Author

xorl commented Mar 2, 2024

I'm interested in your ingress Nginx annotations.

The configmap is managed by the operator. You need to edit the CRD from kubero with

kubectl edit kuberoes kubero -n kubero

I'm not sure if this change restarts the container. This is required.

I'm currently working on an improvement here : #284

This fixed it :)

@xorl
Copy link
Contributor Author

xorl commented Mar 2, 2024

BTW: Which Operato and Kubero UI version are you running?

Latest as of yesterday.

@xorl
Copy link
Contributor Author

xorl commented Mar 2, 2024

All resolved.

@xorl xorl closed this as completed Mar 2, 2024
@mms-gianni mms-gianni added the question Further information is requested label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants