clustersecret

by patrungel

Helm chartv0.2.0App 0.0.9Apache-2.0

ClusterSecret Operator provides inter-namespace (or cluster-wide) secrets

About this chart

clustersecret

A Helm Chart for ClusterSecret

ClusterSecret Operator provides inter-namespace (or cluster-wide) secrets

Homepage: https://github.com/patrungel/clustersecret-helm

Introduction

This chart introduces ClusterSecret custom resource, creates a deployment to run the ClusterSecret operator and optionally creates a number of ClusterSecret-s.

Maintainers

NameEmailUrl
patrungel[email protected]

Source Code

Requirements

Kubernetes: >= 1.16.0-0

Required Configuration

No configuration is required, the defaults are sufficient to run the operator. It is however recommended to specify resources matching your cluster.

Specifying environment

Using command line:

helm -f values.yaml install --name test patrungel/clustersecret

Values

KeyTypeDefaultDescription
affinityobject{}affinity spec for clustersecret deployment
clusterSecretslist[]Optional clustersecret entities to be managed as part of release For a given clustersecret name and data are the only required fields For details refer to https://github.com/zakkg3/ClusterSecret/tree/master/yaml/Object_example Example: clusterSecrets: - name: global-regcred labels: owner: ops annotations: rotate: never matchNamespace: - workers - ".-dev" avoidNamespaces: - default - kube-system type: "kubernetes.io/dockerconfigjson" data: .dockerconfigjson: ZHVtbXk= - name: db-creds matchNamespace: - ".-dev" data: user: ZHVtbXk= password: ZHVtbXk=
extraArgslist[]Additional clustersecret container arguments Example: extraArgs: - --verbose
extraVarsobject{}Optional environment variables as key-value pairs Example: extraVars: LANG: en_US.utf8
fullnameOverridestring""Set to override the release name
image.pullPolicystring"IfNotPresent"Image pullPolicy to use
image.repositorystring"flag5/clustersecret"Image repository to use
image.tagstringnilImage tag to use (defaults to appVersion of the chart)
nameOverridestring""Set to override the chart name part of the release name
nodeSelectorobject{}nodeSelector spec for clustersecret deployment
podAnnotationsobject{}Annotations for clustersecret deployment
podExtraLabelsobject{}Additional labels for clustersecret deployment
priorityClassNamestring""priorityClassName for clustersecret deployment
rbac.createbooltrueIf true create and use RBAC resources
replicaCountint1Number of pod replicas in clustersecret deployment
resourcesobject{}Pod resources for clustersecret deployment Example: resources: limits: cpu: 50m memory: 200Mi requests: cpu: 50m memory: 200Mi
securityContextobject{}Pod security context for clustersecret deployment Example: securityContext: runAsUser: 1000
serviceAccount.annotationsobject{}Service account annotations. Ignored if serviceAccount.create is false.
serviceAccount.createbooltrueIf true create a ServiceAccount
serviceAccount.imagePullSecretNameslist[]List of imagePullSecret names to use with the service account. Ignored if serviceAccount.create is false.
serviceAccount.namestring""The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template.
strategyobject{"type":"Recreate"}strategy spec for clustersecret deployment
tolerationslist[]tolerations spec for clustersecret deployment

Please refer to values.yaml for detailed examples.

Deploy clustersecret with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has clustersecret on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartclustersecret is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply