Commit 4e258f73 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

first commit

parents
apiVersion: v2
name: apache-shib
description: Example Helm chart for Apache+Shibboleth
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# 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.
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 1.0.0
[[_TOC_]]
# Apache-Shibboleth Helm Project
## Introduction
This is an _example_ Helm project that creates a Deployment of the
[Apache+Shibboleth Docker
container](https://code.stanford.edu/orange/docker-apache-shib) optimized
for GCP (google Cloud Platform). This project is intended as a template
for creating other Helm projects that use Docker containers based on the
Apache+Shibboleth Docker container.
The architecture follows the standard GCP Ingress model:
```
Kubernetes
+---------------------------------------------------------------------+
| |
| +---------------+ |
+-------------+ | +-------------+ +-------------+ | Deployment | |
| | | | | | | | | |
| Client | +----> | | Ingress | +----> | Service | +----> | +-------+ | |
| | SSL | | | | | | | Pod | | |
+-------------+ | +-------------+ +-------------+ | +-------+ | |
| +---------------+ |
| |
+---------------------------------------------------------------------+
```
## Helm
# Default values for Apache+Shibboleth.
# This is a YAML-formatted file.
###
### Application settings (these MUST be overridden)
# APP_ENV is typically something like "dev", "test", "prod", etc.
APP_ENV: dev
# The GCP name of the global static external address.
GLOBAL_STATIC_IP_NAME: my-global-static-ip-name
# The endpoint name
SERVERNAME: patchman-dev.example.com
###
### Additional application settings (overriding is optional)
# Set to "YES" if you want to have the patchman container
# server on port 443, "NO" to use port 80.
USE_SSL: "NO"
###
### Kubernetes options
# Number of Pods:
replicaCount: 1
# Docker image settings
image:
repository: suet/patchman
pullPolicy: Always
tag: latest
# Apache settings
apache:
port: 80
DATA_DISK_SIZE: 2Gi
STORAGE_CLASS_NAME: standard
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
ingress:
enabled: true
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
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
nodeSelector: {}
tolerations: []
affinity: {}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment