Skip to content

Commit 33833c6

Browse files
committed
chore(nessie): add plans
1 parent 1b53d78 commit 33833c6

15 files changed

Lines changed: 136 additions & 144 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
jdbc:
2+
# -- The JDBC connection string. If you are using Nessie OSS images, then only
3+
# PostgreSQL, MariaDB and MySQL URLs are supported. Check your JDBC driver documentation
4+
# for the correct URL format.
5+
jdbcUrl: jdbc:postgresql://10.43.205.80:5432/postgres
6+
# -- The secret key storing the datasource username.
7+
username: administrator
8+
# -- The secret key storing the datasource password.
9+
password: gvB7Ha9uP7
10+
11+
catalog:
12+
# -- Whether to enable the REST catalog service.
13+
enabled: true
14+
iceberg:
15+
# -- The default warehouse name. Required. This is just a symbolic name; it must refer to a
16+
# declared warehouse below.
17+
defaultWarehouse: warehouse
18+
warehouses:
19+
# -- Symbolic name of the warehouse. Required.
20+
- name: warehouse
21+
# -- Location of the warehouse. Required. Used to determine the base location of a table.
22+
# Scheme must be either s3 (Amazon S3), gs (Google GCS) or abfs / abfss (Azure ADLS). Storage
23+
# properties for each location can be defined below.
24+
location: s3://bucket1/
25+
26+
storage:
27+
s3:
28+
# Global S3 settings. Can be overridden on a per-bucket basis below.
29+
defaultOptions:
30+
# -- DNS name of the region, required for AWS.
31+
region: us-west-1
32+
# -- Endpoint URI, required for private clouds. Optional; if not provided, the default is
33+
# used.
34+
endpoint: "http://10.43.223.144:9000"
35+
# -- The secret key storing the AWS secret key id.
36+
awsAccessKeyId: admin
37+
# -- The secret key storing the AWS secret access key.
38+
awsSecretAccessKey: u929mrqXtb
39+
40+
extraEnv:
41+
[]

addons/nessie/0.103/chart/nessie/templates/_helpers.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ config types know about that symbolic name and resolve it via a SecretsProvider,
344344
{{- $addRef := index . 4 -}}
345345
{{- $global := index . 5 -}}
346346
{{- if $secret -}}
347-
{{- $secretName := get $secret "name" -}}
347+
{{- $secretName := printf "%s-%s" (include "nessie.fullname" $global) (get $secret "name") -}}
348348
{{- $secretKey := get $secret $key -}}
349349
{{- with $global -}}
350350
{{- if (and $secretName $secretKey) -}}
@@ -375,7 +375,7 @@ Define an env var from secret key.
375375
{{- $envVarName := index . 2 -}}
376376
{{- $global := index . 3 -}}
377377
{{- if $secret -}}
378-
{{- $secretName := get $secret "name" -}}
378+
{{- $secretName := printf "%s-%s" (include "nessie.fullname" $global) (get $secret "name") -}}
379379
{{- $secretKey := get $secret $key -}}
380380
{{- with $global -}}
381381
{{- if (and $secretName $secretKey) -}}
@@ -516,4 +516,4 @@ https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/
516516
{{- else -}}
517517
{{- printf "%v" $n -}}
518518
{{- end -}}
519-
{{- end -}}
519+
{{- end -}}

addons/nessie/0.103/chart/nessie/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
annotations:
4141
projectnessie.org/config-checksum: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
4242
prometheus.io/scrape: "{{ .Values.metrics.enabled | default "false" }}"
43-
prometheus.io/port: "{{ .Values.managementService.port }}"
43+
prometheus.io/port: "{{ .Values.managementService.portNumber }}"
4444
prometheus.io/path: "/q/metrics"
4545
{{- if .Values.podAnnotations }}
4646
{{- tpl (toYaml .Values.podAnnotations) . | nindent 8 }}

addons/nessie/0.103/chart/nessie/templates/secrets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
kind: Secret
33
metadata:
4-
name: datasource-creds
4+
name: {{ include "nessie.fullname" . }}-datasource-creds
55
namespace: {{ .Release.Namespace }}
66
type: Opaque
77
stringData:
@@ -11,7 +11,7 @@ stringData:
1111
apiVersion: v1
1212
kind: Secret
1313
metadata:
14-
name: awscreds
14+
name: {{ include "nessie.fullname" . }}-awscreds
1515
namespace: {{ .Release.Namespace }}
1616
type: Opaque
1717
stringData:

addons/nessie/0.103/chart/nessie/templates/servicemonitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.metrics.enabled }}
1+
{{- if false}}
22
apiVersion: monitoring.coreos.com/v1
33
kind: ServiceMonitor
44
metadata:

addons/nessie/0.103/meta.yaml

Lines changed: 16 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,27 @@
1-
name: opensearch
2-
version: "2.10"
3-
id: 5975094d-45cc-4e85-8573-f93937d026c7
4-
description: "opensearch."
5-
displayName: "opensearch"
1+
name: nessie
2+
version: "0.103.0"
3+
id: fd1cbeda-00a5-11f0-8a54-dbe6761671cc
4+
description: "nessie."
5+
displayName: "nessie"
66
metadata:
7-
displayName: "opensearch"
7+
displayName: "nessie"
88
provider:
99
name: drycc
10-
supportURL: https://opensearch.org/
11-
documentationURL: https://github.com/drycc-addons/containers/tree/main/containers/opensearch
12-
tags: opensearch
10+
supportURL: https://nessie.org/
11+
documentationURL: https://github.com/drycc-addons/containers/tree/main/containers/nessie
12+
tags: nessie
1313
bindable: true
1414
instances_retrievable: true
1515
bindings_retrievable: true
1616
plan_updateable: true
1717
allow_parameters:
18-
- name: "extraConfig"
18+
- name: "jdbc"
19+
required: true
20+
description: "config nessie persist store"
21+
- name: "catalog"
1922
required: false
20-
description: "extraConfig config for values.yaml"
21-
- name: "plugins"
23+
description: "config nessie catalog"
24+
- name: "extraEnv"
2225
required: false
23-
description: "plugins config for values.yaml"
24-
- name: "config"
25-
required: false
26-
description: "opensearch configuration for values.yaml"
27-
- name: "master.nodeSelector"
28-
required: false
29-
description: "master nodeSelector config for values.yaml"
30-
- name: "master.networkPolicy.allowNamespaces"
31-
required: false
32-
description: "master networkPolicy allowNamespaces config for values.yaml"
33-
- name: "ingest.nodeSelector"
34-
required: false
35-
description: "ingest nodeSelector config for values.yaml"
36-
- name: "ingest.networkPolicy.allowNamespaces"
37-
required: false
38-
description: "ingest networkPolicy allowNamespaces config for values.yaml"
39-
- name: "data.nodeSelector"
40-
required: false
41-
description: "data nodeSelector config for values.yaml"
42-
- name: "data.networkPolicy.allowNamespaces"
43-
required: false
44-
description: "data networkPolicy allowNamespaces config for values.yaml"
45-
- name: "coordinating.nodeSelector"
46-
required: false
47-
description: "coordinating nodeSelector config for values.yaml"
48-
- name: "coordinating.networkPolicy.allowNamespaces"
49-
required: false
50-
description: "coordinating networkPolicy allowNamespaces config for values.yaml"
51-
- name: "dashboards.nodeSelector"
52-
required: false
53-
description: "dashboards nodeSelector config for values.yaml"
54-
- name: "dashboards.networkPolicy.allowNamespaces"
55-
required: false
56-
description: "dashboards networkPolicy allowNamespaces config for values.yaml"
57-
- name: "service.type"
58-
required: false
59-
description: "service type config for values.yaml"
60-
- name: "dashboards.service.type"
61-
required: false
62-
description: "dashboards service type config for values.yaml"
26+
description: "config nessie env"
6327
archive: false

addons/nessie/0.103/plans/standard-1c1g5/bind.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

addons/nessie/0.103/plans/standard-1c1g5/meta.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

addons/nessie/0.103/plans/standard-1c1g5/values.yaml

Lines changed: 0 additions & 50 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
credential:
2+
{{- if eq .Values.service.type "LoadBalancer" }}
3+
- name: EXTERNAL_IP
4+
valueFrom:
5+
serviceRef:
6+
name: {{ include "common.names.fullname" . }}
7+
jsonpath: '{.status.loadBalancer.ingress[0].ip}'
8+
{{- end }}
9+
- name: CLUSTER_IP
10+
valueFrom:
11+
serviceRef:
12+
name: {{ include "common.names.fullname" . }}
13+
jsonpath: '{.spec.clusterIP}'
14+
- name: PORT
15+
valueFrom:
16+
serviceRef:
17+
name: {{ include "common.names.fullname" . }}
18+
jsonpath: '{.spec.ports[?(@.name=="http")].port}'
19+

0 commit comments

Comments
 (0)