Octops / gameserver-ingress-controller

Automatic Ingress configuration for Game Servers managed by Agones
https://octops.io
Apache License 2.0
68 stars 9 forks source link

Support multiple hosts or domains #45

Closed danieloliveira079 closed 1 year ago

danieloliveira079 commented 1 year ago

This is a feature request described on https://github.com/Octops/gameserver-ingress-controller/issues/43

This feature adds the ability to expose the game server using multiples domains or hosts. The feature is present on the two available routing modes Path and Domain. The same annotation must be used inform the FQDN or the domain only.

# routing mode path
annotations:
  octops.io/gameserver-ingress-mode: "path"
  octops.io/gameserver-ingress-fqdn: "servers.example.com,servers.example.gg"
# routing mode domain
annotations:
  octops.io/gameserver-ingress-mode: "domain"
  octops.io/gameserver-ingress-domain: "example.com,example.gg"

The current implementation can be tested using following image tag: octops/gameserver-ingress-controller:rc-0.2.4