For example, under >> System >> Workloads >> namespace: ingress-nginx
I selected ‘Edit’ for nginx-ingress-controller, then under advanced >> ‘Labels & Annotations’ I added:
Found a way to do this. If I browse to: myCluster >> System >> Resources >> Config Maps >> edit ‘nginx-configuration’ I can then add Config Map values as set forth here:
I have successfully applied annotations to an ingress using the gui (under Labels and Annotations). The key of the annotation must include the prefix, e.g. nginx.ingress.kubernetes.io/proxy-read-timeout, then the value in a separate field, unless you paste a name=value pair (or a whole set) in one go, which results in a corresponding set of lines containing keys and values to be added.
Thanks for your response @remigius. What object(s) did you successfully apply the annotations to? From what I read in the documentation, I would assume it was the ConfigMap nginx-configuration.
As mentioned in my previous posting, I have applied the annotation to the ingress itself, to be found under Workloads > Load Balancing, then in the ingress object unter Labels and Annotations.
The config map is used by all ingresses, but I don’t know about the refresh behavior. However, when you update an ingress object, it is refreshed after the update (but the update only applies to a single ingress at a time).