Comments (6)
Hi @Roxyrob , can you confirm that you're using Helm to deploy the Ingress Controller ?
from kubernetes-ingress.
Hi @ivanmatmati,
yes I'm using helm or ArgoCD using helm.
I use specific namespace. I tested with single and multiple instances each on dedicated namespace. Sometimes it start and create default certificate sometimes not... I tried to see log and delete/apply ingress with different configurations of tls.
No luck.
from kubernetes-ingress.
Ok, the controller doesn't manage the lifecycle of default certificates. It's handled by Helm charts. I suggest that you ask in their repository, you'll get an answer.
from kubernetes-ingress.
Until this issue is identified and resolved I found a WORKAROUND that seems stable enough.
Following this link: Haproxy document SSL / TLS
- Manually create a certificate
openssl req -x509 -newkey rsa:2048 -keyout example.key -out example.crt -days 365 -nodes -subj "/C=US/ST=Ohio/L=Columbus/O=MyCompany/CN=example.com"
- Manually create a secret
kubectl create secret tls haproxytempcert --cert="example.crt" --key="example.key"
- Temporary Change haproxy ingress ConfigMap
kubectl edit configmap -n {namespace} {configmap_name} apiVersion: v1 kind: ConfigMap metadata: name: ... namespace: ... data: ... ssl-certificate: "default/haproxytempcert" <=== (Add)
Doing this seems "to wakeup" ingress controller that create default cert using haproxytempcert.
Default certificate now exists and contains my Self Signed certificate.
Now I can:
- Delete "ssl-certificate" from ConfigMap
kubectl edit configmap -n {namespace} {configmap_name} apiVersion: v1 kind: ConfigMap metadata: name: ... namespace: ... data: ...
- Delete secret
kubectl delete secret haproxytempcert
Default certificate survive and now contains default haproxy Self-Signed certificate.
What one expect from start.
from kubernetes-ingress.
Hi @ivanmatmati,
I'll ask in helm chart repo also if the deployment process is the same for times when default certificate is created and times is not.
Thank you
from kubernetes-ingress.
Noop, Helm Chart seems correct and this is not related to Ingress Controller either.
from kubernetes-ingress.
Related Issues (20)
- Docs: when adjusting --sync-period, must also adjust initialDelaySeconds HOT 4
- Controller restarts haproxy every 5 minutes with message "restart required : Global config updated: " HOT 4
- Docs: Add info about --job-check-crd to documentation HOT 1
- Ingress Pods Fail to Start HOT 5
- Try to understand the mode for tcpcr in 3.0.0 HOT 5
- how enable only high secure ssl ciphers in haproxy ingress? HOT 3
- change route-acl into an array so multiple ACL's can be defined here. HOT 1
- Named backend server instead of generic SRV_x name HOT 7
- Not able to setup retry-on functionality globally, I tried multiple values.yaml ! Please correct me if i am wrong ! HOT 2
- Some clarification needed for handling canary deployments HOT 3
- Runtime API changes not getting synced between haproxy replicas HOT 3
- Unable to Configure Multiple Backends on the Same Port in TCP CRD HOT 7
- Possibility to add custom stick tables HOT 2
- rate-limit-requests HOT 1
- scale-server-slots on Ingress resource is ignored HOT 3
- feat request: Allow frontend selection annotation for Ingress resource
- CVE-2024-7646
- Constant Reloads with SVC backend HOT 1
- ingress class for TCP balancing objects HOT 2
- Implement traffic distribution for reability, latency and cost in kubernetes cloud provider
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-ingress.