# Rancher ingress annotations does not work

**URL:** https://forums.suse.com/t/rancher-ingress-annotations-does-not-work/19471
**Category:** SUSE Rancher Prime
**Created:** [February 4, 2021, 11:22pm UTC](https://forums.suse.com/t/rancher-ingress-annotations-does-not-work/19471 "2021-02-04T23:22:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![weiyentan](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/weiyentan/32/6794_2.png) [@weiyentan](https://forums.suse.com/u/weiyentan)
#### Post date: [February 4, 2021, 11:22pm UTC](https://forums.suse.com/t/rancher-ingress-annotations-does-not-work/19471/1 "2021-02-04T23:22:42Z")

</div>

I have been rancher for 3 months or so now. I have got my ingresses working and I am using traefik and the ingresses together with lets encrypt.

However I have been looking at using annotations so i can initiate rules. Just as a test I tried adding in basic auth with these values:

|[nginx.ingress.kubernetes.io/auth-realm|kibana|](http://nginx.ingress.kubernetes.io/auth-realm%7Ckibana%7C)  
|[nginx.ingress.kubernetes.io/auth-secret|kibana-auth|](http://nginx.ingress.kubernetes.io/auth-secret%7Ckibana-auth%7C)  
|[nginx.ingress.kubernetes.io/auth-type|basic|](http://nginx.ingress.kubernetes.io/auth-type%7Cbasic%7C)

and created a kibana-auth with a auth-file syntax .

with auth as a keyword and value.

But when i save the ingress and nginx reloads it it does not work. What am i missing? Any help or guidance to a document most appreciated
