(Just- migrated this instance over to kubernetes… just testing federation…)

You are viewing a single thread.
View all comments View context
8 points

If anyone else has made it this far and are thinking “ah balls, I’m using ingress-nginx”, here’s the ingress annotation for you!

nginx.ingress.kubernetes.io/configuration-snippet: |
            if ($http_accept = "application/activity+json") {
              set $proxy_upstream_name "lemmy-lemmy-8536";
            }
            if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") {
              set $proxy_upstream_name "lemmy-lemmy-8536";
            }
            if ($request_method = POST) {
              set $proxy_upstream_name "lemmy-lemmy-8536";
            }

permalink
report
parent
reply
5 points

NORMALLY, this is the part where we would gold each other. Or something.

Sadly- I guess we can’t do that.

But, if anyone knows a decent amount on building helm charts- I found a gitlab earlier which was pretty close to where it needs to be-

I forked a copy of it over to github to prepare to make a few changes, such as using PROPER ingress rules.

https://github.com/XtremeOwnageDotCom/Helm

I do believe it’s possible to build a helm chart with options for both traefik ingress and nginx ingress too.

permalink
report
parent
reply
4 points

The real gold was the friends we made along the way.

permalink
report
parent
reply
4 points

And- the mountains we all moved together.

(Oh, and don’t forget those rare times where most of reddit bonded together, and accomplished big things. )

permalink
report
parent
reply

Chat

!chat@beehaw.org

Create post

Relaxed section for discussion and debate that doesn’t fit anywhere else. Whether it’s advice, how your week is going, a link that’s at the back of your mind, or something like that, it can likely go here.


Subcommunities on Beehaw:


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Community stats

  • 232

    Monthly active users

  • 755

    Posts

  • 17K

    Comments