Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDB-7988: Avoid hardcoded classes #89

Merged
merged 9 commits into from
Apr 8, 2024

Conversation

mihailradkov
Copy link
Contributor

Changes

  • Added properties for inserting additional GraphDB configurations in the properties configmap
  • Updated workbench.subpath to serve GraphDB at context path / by default
  • Image pull secrets updates
    • Updated deployment.imagePullSecret to be a list, e.g. deployment.imagePullSecrets
    • Values from imagePullSecrets are now templated
    • Simplified the helper template for rendering imagePullSecrets
  • Image registry updates
    • Removed the default value from global.imageRegistry, the chart now uses the value from images.graphdb.registry
    • Added images.graphdb.sha to optionally provide an expected SHA checksum of the image
    • Simplified the helper template for rendering the GraphDB's image
    • Removed unused busybox image configurations from images.busybox
  • Storage updates: The chart will default to using the default storage class instead of using a hardcoded standard that might not be present in each cluster.
    • Added graphdb.node.persistence.enabled toggle flag for enabling or disabling the persistence of GraphDB
    • Removed global.storageClass in favor of using by default the default storage class in the cluster. Templates will no longer use global.storageClass.
    • Renamed graphdb.clusterProxy.persistence.enablePersistence toggle to just enabled
  • Ingress updates: The ingress resource is no longer tied to the nginx controller.
    • Added new configuration options for the default ingress deployment.ingress:
        - Ability to override the host and path for GraphDB from deployment.host and graphdb.workbench.subpath
        - Changing the pathType
        - Inserting additional hosts and TLS configurations with extraHosts and extraTLS
    • Updated the ingress resource to be agnostic to the ingress implementation. It will no longer assume that NGINX is the ingress controller in the cluster
    • Removed maxRequestSize and timeout configurations from deployment.ingress as they were specific to the ingress controller implementation of nginx
  • Service ports updates
    • Added labels for each service resource for insertion of additional labels
    • Added containerPorts and proxy.containerPorts for mapping the ports on which GraphDB listens on
    • Added ports mappings in each service
    • Added extraContainerPorts and proxy.extraContainerPorts
    • Service resources and probes now refer to the target ports by their nicknames
    • Renamed the port mappings of GraphDB and GraphDB proxy to http and rpc
    • Renamed graphdb.node.service to headlessService

mihailradkov and others added 9 commits April 8, 2024 13:43
- Updated `deployment.imagePullSecret` to be a list, e.g. `deployment.imagePullSecrets`
- Values from imagePullSecrets are now templated
- Simplified the helper template for rendering imagePullSecrets
- Removed the default value from `global.imageRegistry`, the chart now uses the value from `images.graphdb.registry`
- Added `images.graphdb.sha` to optionally provide an expected SHA checksum of the image
- Simplified the helper template for rendering the GraphDB's image
- Removed unused busybox image configurations from `images.busybox`
The chart will default to using the default storage class instead of
using a hardcoded standard that might not be present in each cluster.

- Added `graphdb.node.persistence.enabled` toggle flag for enabling or
  disabling the persistence of GraphDB
- Removed `global.storageClass` in favor of using by default the default
  storage class in the cluster. Templates will no longer use `global.storageClass`.
- Renamed `graphdb.clusterProxy.persistence.enablePersistence` toggle
  to just `enabled`
The ingress resource is no longer tied to the nginx controller.

- Added new configuration options for the default ingress `deployment.ingress`:
  - Ability to override the `host` and `path` for GraphDB from `deployment.host`
    and `graphdb.workbench.subpath`
  - Changing the `pathType`
  - Inserting additional hosts and TLS configurations with `extraHosts` and `extraTLS`
- Updated the ingress resource to be agnostic to the ingress implementation.
  It will no longer assume that NGINX is the ingress controller in the cluster
- Removed `maxRequestSize` and `timeout` configurations from `deployment.ingress`
  as they were specific to the ingress controller implementation of nginx
- Added `labels` for each service resource for insertion of additional labels
- Added `containerPorts` and `proxy.containerPorts` for mapping the ports on which GraphDB listens on
- Added `ports` mappings in each service
- Added `extraContainerPorts` and `proxy.extraContainerPorts`
- Service resources and probes now refer to the target ports by their nicknames
- Renamed the port mappings of GraphDB and GraphDB proxy to `http` and `rpc`
- Renamed `graphdb.node.service` to `headlessService`
@mihailradkov mihailradkov requested a review from yaskoo April 8, 2024 10:49
values.yaml Show resolved Hide resolved
@mihailradkov mihailradkov merged commit 4b4563c into GDB-9425-version-11 Apr 8, 2024
@mihailradkov mihailradkov deleted the GDB-7988-plugins branch April 8, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants