Skip to content

Commit

Permalink
Release COMS v0.8.0
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Ho <jujaga@gmail.com>
  • Loading branch information
jujaga committed Mar 15, 2024
1 parent 58086a6 commit 0cb482e
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 34 deletions.
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ At this time, only the latest version of Common Object Management Service is sup

| Version | Supported |
| ------- | ------------------ |
| 0.7.0 | :white_check_mark: |
| < 0.7.x | :x: |
| 0.8.0 | :white_check_mark: |
| < 0.8.x | :x: |

## Reporting a Bug

Expand Down
4 changes: 2 additions & 2 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "common-object-management-service",
"version": "0.7.0",
"version": "0.8.0",
"private": true,
"description": "",
"author": "NR Common Service Showcase <NR.CommonServiceShowcase@gov.bc.ca>",
Expand Down
2 changes: 1 addition & 1 deletion bcgovpubcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ product_information:
product_technology_information:
backend_frameworks:
- name: Express
version: 4.18.2
version: 4.18.3
- name: Other
version: Knex
- name: Other
Expand Down
4 changes: 2 additions & 2 deletions charts/coms/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: common-object-management-service
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.21
version: 0.0.22
kubeVersion: ">= 1.13.0"
description: A microservice for managing access control to S3 Objects
# A chart can be either an 'application' or a 'library' chart.
Expand Down Expand Up @@ -43,6 +43,6 @@ maintainers:
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.7.0"
appVersion: "0.8.0"
deprecated: false
annotations: {}
46 changes: 23 additions & 23 deletions charts/coms/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# common-object-management-service

![Version: 0.0.21](https://img.shields.io/badge/Version-0.0.21-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.0](https://img.shields.io/badge/AppVersion-0.7.0-informational?style=flat-square)
![Version: 0.0.22](https://img.shields.io/badge/Version-0.0.22-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.0](https://img.shields.io/badge/AppVersion-0.8.0-informational?style=flat-square)

A microservice for managing access control to S3 Objects

Expand Down Expand Up @@ -33,46 +33,46 @@ Kubernetes: `>= 1.13.0`
| autoscaling.maxReplicas | int | `16` | |
| autoscaling.minReplicas | int | `2` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| basicAuthSecretOverride.password | string | `nil` | |
| basicAuthSecretOverride.username | string | `nil` | |
| basicAuthSecretOverride.password | string | `nil` | Basic authentication password |
| basicAuthSecretOverride.username | string | `nil` | Basic authentication username |
| config.configMap | object | `{"DB_PORT":"5432","KC_IDENTITYKEY":null,"KC_PUBLICKEY":null,"KC_REALM":null,"KC_SERVERURL":null,"OBJECTSTORAGE_BUCKET":null,"OBJECTSTORAGE_ENDPOINT":null,"OBJECTSTORAGE_KEY":null,"SERVER_LOGLEVEL":"http","SERVER_PORT":"3000","SERVER_TEMP_EXPIRESIN":"300"}` | These values will be wholesale added to the configmap as is; refer to the coms documentation for what each of these values mean and whether you need them defined. Ensure that all values are represented explicitly as strings, as non-string values will not translate over as expected into container environment variables. For configuration keys named `*_ENABLED`, either leave them commented/undefined, or set them to string value "true". |
| config.enabled | bool | `false` | |
| config.enabled | bool | `false` | Set to true if you want to let Helm manage and overwrite your configmaps. |
| config.releaseScoped | bool | `false` | This should be set to true if and only if you require configmaps and secrets to be release scoped. In the event you want all instances in the same namespace to share a similar configuration, this should be set to false |
| dbSecretOverride.password | string | `nil` | |
| dbSecretOverride.username | string | `nil` | |
| dbSecretOverride.password | string | `nil` | Database password |
| dbSecretOverride.username | string | `nil` | Database username |
| failurePolicy | string | `"Retry"` | |
| features.basicAuth | bool | `false` | Specifies whether basic auth is enabled |
| features.defaultBucket | bool | `false` | Specifies whether a default bucket is enabled |
| features.oidcAuth | bool | `false` | Specifies whether oidc auth is enabled |
| fullnameOverride | string | `nil` | String to fully override fullname |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"docker.io/bcgovimages"` | |
| image.tag | string | `nil` | |
| image.pullPolicy | string | `"IfNotPresent"` | Default image pull policy |
| image.repository | string | `"docker.io/bcgovimages"` | Default image repository |
| image.tag | string | `nil` | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | Specify docker-registry secret names as an array |
| keycloakSecretOverride.password | string | `nil` | |
| keycloakSecretOverride.username | string | `nil` | |
| keycloakSecretOverride.password | string | `nil` | Keycloak password |
| keycloakSecretOverride.username | string | `nil` | Keycloak username |
| nameOverride | string | `nil` | String to partially override fullname |
| networkPolicy.enabled | bool | `true` | Specifies whether a network policy should be created |
| objectStorageSecretOverride.password | string | `nil` | |
| objectStorageSecretOverride.username | string | `nil` | |
| patroni.enabled | bool | `false` | |
| objectStorageSecretOverride.password | string | `nil` | Object storage password |
| objectStorageSecretOverride.username | string | `nil` | Object storage username |
| patroni.enabled | bool | `false` | Controls whether to enable managing a Patroni db dependency as a part of the helm release |
| podAnnotations | object | `{}` | Annotations for coms pods |
| podSecurityContext | object | `{}` | |
| podSecurityContext | object | `{}` | Privilege and access control settings |
| replicaCount | int | `2` | |
| resources.limits.cpu | string | `"200m"` | |
| resources.limits.memory | string | `"512Mi"` | |
| resources.requests.cpu | string | `"50m"` | |
| resources.requests.memory | string | `"128Mi"` | |
| resources.limits.cpu | string | `"200m"` | Limit Peak CPU (in millicores ex. 1000m) |
| resources.limits.memory | string | `"512Mi"` | Limit Peak Memory (in gigabytes Gi or megabytes Mi ex. 2Gi) |
| resources.requests.cpu | string | `"50m"` | Requested CPU (in millicores ex. 500m) |
| resources.requests.memory | string | `"128Mi"` | Requested Memory (in gigabytes Gi or megabytes Mi ex. 500Mi) |
| route.annotations | object | `{}` | Annotations to add to the route |
| route.enabled | bool | `true` | Specifies whether a route should be created |
| route.host | string | `"chart-example.local"` | |
| route.tls.insecureEdgeTerminationPolicy | string | `"Redirect"` | |
| route.tls.termination | string | `"edge"` | |
| route.wildcardPolicy | string | `"None"` | |
| securityContext | object | `{}` | |
| service.port | int | `3000` | |
| service.portName | string | `"http"` | |
| service.type | string | `"ClusterIP"` | |
| securityContext | object | `{}` | Privilege and access control settings |
| service.port | int | `3000` | Service port |
| service.portName | string | `"http"` | Service port name |
| service.type | string | `"ClusterIP"` | Service type |
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
| serviceAccount.enabled | bool | `false` | Specifies whether a service account should be created |
| serviceAccount.name | string | `nil` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
Expand Down
25 changes: 22 additions & 3 deletions charts/coms/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
replicaCount: 2

image:
# -- Default image repository
repository: docker.io/bcgovimages
# -- Default image pull policy
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
# -- Overrides the image tag whose default is the chart appVersion.
tag: ~

# -- Specify docker-registry secret names as an array
Expand All @@ -23,9 +25,11 @@ failurePolicy: Retry
# -- Annotations for coms pods
podAnnotations: {}

# -- Privilege and access control settings
podSecurityContext: {}
# fsGroup: 2000

# -- Privilege and access control settings
securityContext: {}
# capabilities:
# drop:
Expand Down Expand Up @@ -73,8 +77,11 @@ networkPolicy:
enabled: true

service:
# -- Service type
type: ClusterIP
# -- Service port
port: 3000
# -- Service port name
portName: http

route:
Expand All @@ -97,10 +104,14 @@ resources:
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
limits:
# -- Limit Peak CPU (in millicores ex. 1000m)
cpu: 200m
# -- Limit Peak Memory (in gigabytes Gi or megabytes Mi ex. 2Gi)
memory: 512Mi
requests:
# -- Requested CPU (in millicores ex. 500m)
cpu: 50m
# -- Requested Memory (in gigabytes Gi or megabytes Mi ex. 500Mi)
memory: 128Mi

features:
Expand All @@ -112,7 +123,7 @@ features:
oidcAuth: false

config:
# Set to true if you want to let Helm manage and overwrite your configmaps.
# -- Set to true if you want to let Helm manage and overwrite your configmaps.
enabled: false

# -- This should be set to true if and only if you require configmaps and secrets to be release
Expand Down Expand Up @@ -154,21 +165,29 @@ config:

# Modify the following variables if you need to acquire secret values from a custom-named resource
basicAuthSecretOverride:
# -- Basic authentication username
username: ~
# -- Basic authentication password
password: ~
dbSecretOverride:
# -- Database username
username: ~
# -- Database password
password: ~
keycloakSecretOverride:
# -- Keycloak username
username: ~
# -- Keycloak password
password: ~
objectStorageSecretOverride:
# -- Object storage username
username: ~
# -- Object storage password
password: ~

# Patroni subchart configuration overrides
patroni:
# Controls whether to enable managing a Patroni db dependency as a part of the helm release
# -- Controls whether to enable managing a Patroni db dependency as a part of the helm release
enabled: false

# replicaCount: 3
Expand Down

0 comments on commit 0cb482e

Please sign in to comment.