release.yaml
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: dgraph
namespace: dgraph
spec:
timeout: 2m0s
chart:
spec:
chart: dgraph
sourceRef:
kind: HelmRepository
name: dgraph
interval: 10m
maxHistory: 3
values:
alpha:
configFile:
config.yaml: |
graphql:
introspection: true
security:
whitelist: 10.0.25.0/24,10.0.26.0/24,10.0.27.0/24
zero:
configFile:
config.yaml: |
security:
whitelist: 10.0.25.0/24,10.0.26.0/24,10.0.27.0/24
ratel:
enabled: true
image:
tag: v21.03.0
configFile:
config.yaml: |
security:
whitelist: 10.0.25.0/24,10.0.26.0/24,10.0.27.0/24
global:
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-redirect: "true"
cert-manager.io/cluster-issuer: letsencrypt-prod
tls:
- hosts:
- ratel.juptr.hg-prototypes.com
- alpha.juptr.hg-prototypes.com
secretName: dgraph-tls
ratel_hostname: ratel.juptr.hg-prototypes.com
alpha_hostname: alpha.juptr.hg-prototypes.com
When running the Helm Release, I receive the following error:
Helm upgrade failed: failed to create resource: Ingress.extensions "dgraph-dgraph-ingress" is invalid: annotations.kubernetes.io/ingress.class: Invalid value: "nginx": can not be set when the class field is also set
I am using Flux to manage my clusters and their apps. Cluster is EKS.