Skip to content

Commit

Permalink
Merge pull request #11 from MiamiOH/7-send-secretsproperties-via-conf…
Browse files Browse the repository at this point in the history
…igmap

7 send secretsproperties via configmap
  • Loading branch information
bryancpowell authored Apr 6, 2023
2 parents 7c004cc + e0bdabc commit 69e3962
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 21 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ The following table lists the configurable parameters of the heml-template chart
| `serviceAccount.create` | Specifies whether a service account should be created | `true` |
| `serviceAccount.annotations` | Annotations to add to the service account | {} |
| `serviceAccount.name` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | `` |
| `podSecurityContext.runAsUser` | | 1000 |
| `securityContext.capabilities.drop` | | `[ALL]` |
| `securityContext.runAsNonRoot` | | true |
| `securityContext.runAsUser` | | 1000 |
| `resources.limits.cpu` | | 2000m |
| `resources.limits.memory` | | 4Gi |
| `resources.requests.cpu` | | 1000m |
Expand Down
2 changes: 1 addition & 1 deletion charts/shibboleth-idp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.1
version: 0.3.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 6 additions & 0 deletions charts/shibboleth-idp/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# We should Probably add more output data to this file

Go to:
{{- range .Values.ingress.hosts }}
https://{{ . }}/idp/status to verify that it is up
{{- end }}
2 changes: 0 additions & 2 deletions charts/shibboleth-idp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "shib-idp.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.conf.image }}
initContainers:
- name: conf
Expand Down
25 changes: 11 additions & 14 deletions charts/shibboleth-idp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fullnameOverride: ""
replicaCount: 1

image:
repository: "tier/shib-idp"
repository: "i2incommon/shib-idp"
tag: "4.3.1_20230330"
pullPolicy: Always

Expand All @@ -28,16 +28,6 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name:

podSecurityContext:
runAsUser: 1000

securityContext:
capabilities:
drop:
- ALL
runAsNonRoot: true
runAsUser: 1000

resources:
limits:
cpu: 2000m
Expand Down Expand Up @@ -75,13 +65,17 @@ conf:
# on multiple lines

# data-only container with conf/ files located under /conf
image: {}
image:
repository: "miamioh/shib-idp-conf"
tag: "latest"
# repository: "nexus.ci.psu.edu:5000/docker/shib-idp-conf"
# tag: "1.0"
# pullPolicy: Always

metadata:
image: {}
image:
repository: "miamioh/shib-idp-metadata"
tag: "latest"

properties:
# configmaps and secrets whose keys will be appended to conf/idp.properties on startup
Expand All @@ -97,4 +91,7 @@ credentials:
# configmaps and secrets whose keys will be mounted under credentials/ as files
configMaps: {}
sealedSecrets: {}
values: {}
values:
secrets.properties: |-
idp.authn.LDAP.bindDNCredential: password
#TODO #10 Need to figure out how to best pass this info

0 comments on commit 69e3962

Please sign in to comment.