mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-07 15:53:39 +01:00
reduce k8s traefik discovery log noise
This commit is contained in:
parent
3cd441a45e
commit
34589f0514
@ -168,7 +168,7 @@ export async function servicesFromKubernetes() {
|
||||
.listClusterCustomObject("traefik.containo.us", "v1alpha1", "ingressroutes")
|
||||
.then((response) => response.body)
|
||||
.catch(async (error) => {
|
||||
if (error.statusCode !== 404) {
|
||||
if (error.statusCode !== 403) {
|
||||
logger.error(
|
||||
"Error getting traefik ingresses from traefik.containo.us: %d %s %s",
|
||||
error.statusCode,
|
||||
@ -184,7 +184,7 @@ export async function servicesFromKubernetes() {
|
||||
.listClusterCustomObject("traefik.io", "v1alpha1", "ingressroutes")
|
||||
.then((response) => response.body)
|
||||
.catch(async (error) => {
|
||||
if (error.statusCode !== 404) {
|
||||
if (error.statusCode !== 403) {
|
||||
logger.error(
|
||||
"Error getting traefik ingresses from traefik.io: %d %s %s",
|
||||
error.statusCode,
|
||||
|
Loading…
x
Reference in New Issue
Block a user