Add sane default values for Ingress objects. #21

Closed
perfectra1n wants to merge 6 commits from perfectra1n/helm-chart:main into main
Contributor

In the spirit of #19, I wanted to provide better sane defaults for the Ingress values:

frontend:
  ingress:
    main:
      enabled: true
      annotations:
        # proxy-body-size is set to 0 to remove the body limit on file uploads
        nginx.ingress.kubernetes.io/proxy-body-size: "0"
      hosts:
        # This is just an example. You should change this to your own domain.
        - host: vikunja.local
          paths:
            - path: /
              pathType: Prefix
      tls: []
api:
  ingress:
    api:
      enabled: true
      annotations:
        # proxy-body-size is set to 0 to remove the body limit on file uploads
        nginx.ingress.kubernetes.io/proxy-body-size: "0"
      hosts:
        - host: vikunja.local
          paths:
            - path: /api/v1
              pathType: Prefix
      tls: []
In the spirit of #19, I wanted to provide better sane defaults for the Ingress values: ```yaml frontend: ingress: main: enabled: true annotations: # proxy-body-size is set to 0 to remove the body limit on file uploads nginx.ingress.kubernetes.io/proxy-body-size: "0" hosts: # This is just an example. You should change this to your own domain. - host: vikunja.local paths: - path: / pathType: Prefix tls: [] api: ingress: api: enabled: true annotations: # proxy-body-size is set to 0 to remove the body limit on file uploads nginx.ingress.kubernetes.io/proxy-body-size: "0" hosts: - host: vikunja.local paths: - path: /api/v1 pathType: Prefix tls: [] ```
perfectra1n added 5 commits 2023-12-12 22:35:23 +00:00
Author
Contributor

I guess I should've squashed first...

I guess I should've squashed first...
perfectra1n added 1 commit 2023-12-12 22:43:14 +00:00
continuous-integration/drone/pr Build is passing Details
aaceb9f2f7
change this ingress name to be `main` as well
Owner

Should we merge this before or after #19?

Should we merge this before or after #19?
Author
Contributor

I was just about to flip this as WIP @konrad - I got all spun around. The chart as is already creates the correct Ingress objects by default. I'll go ahead and close this out, this is what I get for trying to write code while in meetings...

I was just about to flip this as WIP @konrad - I got all spun around. The chart as is already creates the correct `Ingress` objects by default. I'll go ahead and close this out, this is what I get for trying to write code while in meetings...
perfectra1n closed this pull request 2023-12-12 22:47:10 +00:00
Author
Contributor

I realized I was doing something silly when I saw so few lines of code changed LOL

I realized I was doing something silly when I saw so few lines of code changed LOL
All checks were successful
continuous-integration/drone/pr Build is passing
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/helm-chart#21
No description provided.