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

Migrate charts directory (vendors starting with D-E) #1043

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions charts/datawiza/access-broker/0.1.1/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
annotations:
catalog.cattle.io/certified: partner
catalog.cattle.io/display-name: Datawiza Access Broker
catalog.cattle.io/release-name: datawiza-access-broker
apiVersion: v2
appVersion: 1.6.4
description: A distributed, lightweight, container-based Identity Aware proxy deployed
close to your application via the sidecar or standalone mode.
home: https://www.datawiza.com
icon: https://uploads-ssl.webflow.com/5ecaec8e686e9a5d06f5face/5ecaec8e686e9a4275f5fb05_logo.svg
keywords:
- AMaaS
- Identity Aware proxy
- Zero Trust
- Datawiza
kubeVersion: '>= 1.20'
maintainers:
- email: [email protected]
name: weiyu
name: access-broker
type: application
version: 0.1.1
47 changes: 47 additions & 0 deletions charts/datawiza/access-broker/0.1.1/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "access-broker.fullname" . }}
labels:
{{- include "access-broker.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "access-broker.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "access-broker.selectorLabels" . | nindent 8 }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.containerPort }}
env:
- name: PROVISIONING_KEY
value: {{ .Values.PROVISIONING_KEY}}
- name: PROVISIONING_SECRET
value: {{ .Values.PROVISIONING_SECRET}}
imagePullSecrets:
- name: {{ .Values.imagePullSecrets }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
18 changes: 18 additions & 0 deletions charts/datawiza/access-broker/0.1.1/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "access-broker.fullname" . }}
labels:
{{- include "access-broker.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
protocol: TCP
name: http
targetPort: {{ .Values.service.targetPort }}
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
selector:
{{- include "access-broker.selectorLabels" . | nindent 4 }}
85 changes: 85 additions & 0 deletions charts/datawiza/access-broker/0.1.1/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Default values for access-broker.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

image:
repository: registry.gitlab.com/datawiza/access-broker
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""

podAnnotations: {}

podSecurityContext: {}
# fsGroup: 2000

securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000

service:
type: NodePort
port: 9772

ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# 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:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi

autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80

nodeSelector: {}

tolerations: []

affinity: {}

PROVISIONING_KEY: ""
PROVISIONING_SECRET: ""
22 changes: 22 additions & 0 deletions charts/datawiza/access-broker/0.1.2/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
annotations:
catalog.cattle.io/certified: partner
catalog.cattle.io/display-name: Datawiza Access Broker
catalog.cattle.io/kube-version: '>=1.20-0'
catalog.cattle.io/release-name: access-broker
apiVersion: v2
appVersion: 1.8.0
description: A distributed, lightweight, container-based Identity Aware proxy deployed
close to your application via the sidecar or standalone mode.
home: https://www.datawiza.com
icon: https://uploads-ssl.webflow.com/5ecaec8e686e9a5d06f5face/5ecaec8e686e9a4275f5fb05_logo.svg
keywords:
- AMaaS
- Identity Aware proxy
- Zero Trust
- Datawiza
maintainers:
- email: [email protected]
name: weiyu
name: access-broker
type: application
version: 0.1.2
5 changes: 5 additions & 0 deletions charts/datawiza/access-broker/0.1.2/app-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Datawiza Access Broker

Datawiza Access Broker is a distributed, lightweight, container-based Identity Aware proxy deployed close to your application via the sidecar or standalone mode. It provides a unified authentication and authorization layer, decoupled from the application itself. As a container, it can be deployed on-premise and in the cloud as long as the environment supports Docker containers.

See our [docs](https://docs.datawiza.com/) for more information.
31 changes: 31 additions & 0 deletions charts/datawiza/access-broker/0.1.2/questions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
namespace: datawiza-access-broker
labels:
io.rancher.certified: partner
categories:
- Application
questions:
- variable: PROVISIONING_KEY
default: ""
description: "PROVISIONING_KEY"
required: true
label: PROVISIONING_KEY
group: "Datawiza Access Broker Configuration"
- variable: PROVISIONING_SECRET
default: ""
description: "PROVISIONING_SECRET"
required: true
label: PROVISIONING_SECRET
group: "Datawiza Access Broker Configuration"
- variable: containerPort
default: 9772
type: int
description: "listen port of you application"
required: true
label: containerPort
group: "Datawiza Access Broker Configuration"
- variable: imagePullSecrets
default: ""
description: "kubernetes secret name used to pull datawiza access broker image"
required: true
label: imagePullSecrets
group: "Datawiza Access Broker Configuration"
22 changes: 22 additions & 0 deletions charts/datawiza/access-broker/0.1.2/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
1. Get the application URL by running these commands:
{{- if .Values.ingress.enabled }}
{{- range $host := .Values.ingress.hosts }}
{{- range .paths }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
{{- end }}
{{- end }}
{{- else if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "access-broker.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "access-broker.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "access-broker.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "access-broker.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
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 }}
62 changes: 62 additions & 0 deletions charts/datawiza/access-broker/0.1.2/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "access-broker.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "access-broker.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "access-broker.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Common labels
*/}}
{{- define "access-broker.labels" -}}
helm.sh/chart: {{ include "access-broker.chart" . }}
{{ include "access-broker.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}

{{/*
Selector labels
*/}}
{{- define "access-broker.selectorLabels" -}}
app.kubernetes.io/name: {{ include "access-broker.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Create the name of the service account to use
*/}}
{{- define "access-broker.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "access-broker.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}
47 changes: 47 additions & 0 deletions charts/datawiza/access-broker/0.1.2/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "access-broker.fullname" . }}
labels:
{{- include "access-broker.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "access-broker.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "access-broker.selectorLabels" . | nindent 8 }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.containerPort }}
env:
- name: PROVISIONING_KEY
value: {{ .Values.PROVISIONING_KEY}}
- name: PROVISIONING_SECRET
value: {{ .Values.PROVISIONING_SECRET}}
imagePullSecrets:
- name: {{ .Values.imagePullSecrets }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
Loading
Loading