Skip to content

Commit

Permalink
Merge pull request #3 from PrefectHQ/2022.6.23
Browse files Browse the repository at this point in the history
2022.6.23
  • Loading branch information
gabcoyne authored Jun 23, 2022
2 parents d4609c9 + 13f7d01 commit 4c5cb68
Show file tree
Hide file tree
Showing 26 changed files with 99 additions and 609 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @gabcoyne @madkinsz
* @gabcoyne @madkinsz @jamiedick
2 changes: 1 addition & 1 deletion .github/workflows/helm_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
# sign: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# CR_SKIP_EXISTING: true
# CR_SKIP_EXISTING: true
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


repos:
- hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
- hooks:
- id: helm-docs
files: (README\.md\.gotmpl|(Chart|requirements|values)\.yaml)$
repo: https://github.com/norwoodj/helm-docs
rev: v1.3.0
4 changes: 3 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Prefect Helm Charts



## Usage

### TL;DR
Expand Down Expand Up @@ -129,4 +131,4 @@ Development versions of the Helm chart will always be available directly from th

## Options:

See comments in `values.yaml`.
See comments in `values.yaml`.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: prefect-orion
description: Prefect orion application bundle
type: application
home: https://github.com/PrefectHQ
version: 2022.6.22
version: 2022.6.23
appVersion: "latest"
maintainers:
- name: gabcoyne
Expand All @@ -14,4 +14,4 @@ dependencies:
- name: postgresql
version: "~11.6.2"
repository: https://charts.bitnami.com/bitnami
condition: postgresql.useSubChart
condition: postgresql.useSubChart
64 changes: 64 additions & 0 deletions charts/prefect-orion/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# prefect-orion

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

Prefect orion application bundle

**Homepage:** <https://github.com/PrefectHQ>

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| gabcoyne | <george@prefect.io> | |

## Source Code

* <https://github.com/PrefectHQ/prefect-helm>

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | ~11.6.2 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| api.affinity | object | `{}` | |
| api.autoscaling.enabled | bool | `false` | Enable autoscaling |
| api.autoscaling.maxReplicas | int | `100` | |
| api.autoscaling.minReplicas | int | `1` | Minimum autoscaling replica count |
| api.autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| api.debug_enabled | bool | `false` | |
| api.enabled | bool | `true` | |
| api.image.name | string | `"prefecthq/prefect"` | |
| api.image.pullPolicy | string | `"IfNotPresent"` | |
| api.image.tag | string | `"2.0b7-python3.8"` | Overrides the image tag whose default is the chart appVersion. |
| api.ingress | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"prefect.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | Ingress configuration |
| api.nodeSelector | object | `{}` | |
| api.podAnnotations | object | `{}` | |
| api.podSecurityContext | object | `{}` | |
| api.replicaCount | int | `1` | |
| api.resources | object | `{}` | |
| api.securityContext | object | `{}` | |
| api.service.port | int | `4200` | |
| api.service.type | string | `"ClusterIP"` | |
| api.tolerations | list | `[]` | |
| postgresql.auth.database | string | `"orion"` | |
| postgresql.auth.existingSecret | string | `nil` | |
| postgresql.auth.password | string | `"HEREWEGO"` | |
| postgresql.auth.username | string | `"prefect"` | |
| postgresql.containerPorts.postgresql | int | `5432` | |
| postgresql.externalHostname | string | `""` | |
| postgresql.image.tag | string | `"14.3.0"` | Version tag, corresponds to tags at https://hub.docker.com/r/bitnami/postgresql/ |
| postgresql.initdbUser | string | `"postgres"` | initial postgres user to create |
| postgresql.persistence.enabled | bool | `false` | Enables a PVC that stores db between deployments |
| postgresql.persistence.size | string | `"8Gi"` | Configures size of postgres PVC |
| postgresql.useSubChart | bool | `true` | |
| prefectVersionTag | string | `"2.0b7-python3.8"` | |
| serviceAccount.enabled | bool | `true` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.10.0](https://github.com/norwoodj/helm-docs/releases/v1.10.0)
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Create the name of the service account to use
{{- end -}}

{{/*
env-unrap:
env-unrap:
Converts a nested dictionary with keys `prefix` and `map`
into a list of environment variable definitions, where each
variable name is an uppercased concatenation of keys in the map
Expand All @@ -97,7 +97,7 @@ Create the name of the service account to use
{{- end -}}

{{/*
orion.postgres-hostname:
orion.postgres-hostname:
Generate the hostname of the postgresql service
If a subchart is used, evaluate using its fullname function
as {subchart.fullname}-{namespace}
Expand All @@ -113,7 +113,7 @@ Create the name of the service account to use
{{- end -}}
{{- end -}}

{{/*
{{/*
orion.postgres-connstr:
Generates the connection string for the postgresql service
*/}}
Expand Down Expand Up @@ -143,7 +143,7 @@ Create the name of the service account to use
{{/*
orion.postgres-secret-ref:
Generates a reference to the postgreqsql connection-string password
secret.
secret.
*/}}
{{- define "orion.postgres-secret-ref" -}}
secretKeyRef:
Expand All @@ -154,8 +154,8 @@ secretKeyRef:
{{/*
orion.envConfig:
Define environment variables for prefect config.
Includes a constant set of common variables as well as
generated environment variables from .Values.prefectConfig
Includes a constant set of common variables as well as
generated environment variables from .Values.prefectConfig
using "env-unwrap"
*/}}
{{- define "orion.envConfig" -}}
Expand All @@ -166,4 +166,4 @@ secretKeyRef:
{{- include "orion.postgres-secret-ref" . | nindent 4 }}
{{- $args := (dict "prefix" "PREFECT_SERVER" "map" .Values.prefectConfig) -}}
{{- include "env-unwrap" $args -}}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
{{- end }}
labels:
{{- include "orion.selectorLabels" . | nindent 8 }}
spec:
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down Expand Up @@ -56,4 +56,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ metadata:
{{- include "orion.labels" . | nindent 4 }}
type: Opaque
data:
connection-string: {{ include "orion.postgres-connstr" . | b64enc | quote }}
connection-string: {{ include "orion.postgres-connstr" . | b64enc | quote }}
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
prefectVersionTag: 2.0b5-python3.8
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
annotations: {}

prefectVersionTag: 2.0b7-python3.8

api:
enabled: true
Expand All @@ -17,7 +12,7 @@ api:
name: prefecthq/prefect
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: 2.0b5-python3.8
tag: 2.0b7-python3.8

debug_enabled: false

Expand Down Expand Up @@ -65,8 +60,8 @@ postgresql:
# password sets the password to be used if
# `existingSecret` is not set. This is the password for
# `username` and will be set within the secret at
# the key `postgresql-password`. This argument is only relevant
# when using the Postgres database included in the chart.
# the key `postgresql-password`. This argument is only relevant
# when using the Postgres database included in the chart.
# For an external postgres connection, you must create
# and use `existingSecret` instead of `postgresqlPassword`.
password: "HEREWEGO"
Expand Down
23 changes: 0 additions & 23 deletions helm/prefect-agent/.helmignore

This file was deleted.

12 changes: 0 additions & 12 deletions helm/prefect-agent/Chart.yaml

This file was deleted.

99 changes: 0 additions & 99 deletions helm/prefect-agent/README.md

This file was deleted.

1 change: 0 additions & 1 deletion helm/prefect-agent/templates/NOTES.txt

This file was deleted.

Loading

0 comments on commit 4c5cb68

Please sign in to comment.