UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 937a6edc authored by Danilo Patrucco's avatar Danilo Patrucco
Browse files

Merge branch 'automate-secrets-creation' into 'main'

add secret creation (automatic)

See merge request big-bang/apps/sandbox/podinfo!80
parents eea90f2e 97789367
No related branches found
No related tags found
1 merge request!80add secret creation (automatic)
Pipeline #3961741 passed
......@@ -3,6 +3,12 @@
> Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
---
## [6.7.1-bb.4] - 2025-02-20
### Changed
- Add automated private registry secret creation
## [6.7.1-bb.3] - 2025-02-19
### Changed
......
<!-- Warning: Do not manually edit this file. See notes on gluon + helm-docs at the end of this file for more information. -->
# podinfo
![Version: 6.7.1-bb.3](https://img.shields.io/badge/Version-6.7.1--bb.3-informational?style=flat-square) ![AppVersion: 6.7.1](https://img.shields.io/badge/AppVersion-6.7.1-informational?style=flat-square) ![Maintenance Track: bb_maintainted](https://img.shields.io/badge/Maintenance_Track-bb_maintainted-red?style=flat-square)
![Version: 6.7.1-bb.4](https://img.shields.io/badge/Version-6.7.1--bb.4-informational?style=flat-square) ![AppVersion: 6.7.1](https://img.shields.io/badge/AppVersion-6.7.1-informational?style=flat-square) ![Maintenance Track: bb_maintainted](https://img.shields.io/badge/Maintenance_Track-bb_maintainted-red?style=flat-square)
Podinfo Helm chart for Kubernetes
......@@ -162,6 +162,12 @@ helm install podinfo chart/
| waitJob.scripts.image | string | `"registry1.dso.mil/ironbank/opensource/kubernetes/kubectl:v1.30.7"` | |
| waitJob.permissions.apiGroups | object | `{}` | |
| waitJob.permissions.resources | object | `{}` | |
| privateRegistrySecret | bool | `false` | |
| privateRegistry | string | `"registry1.dso.mil"` | |
| privateRegistryUsername | string | `""` | |
| privateRegistryPassword | string | `""` | |
| privateRegistryEmail | string | `"help@dsop.io"` | |
| privateRegistrySecretName | string | `"private-registry"` | |
## Contributing
......
apiVersion: v2
icon: https://kubernetes.io/icons/icon-128x128.png
version: 6.7.1-bb.3
version: 6.7.1-bb.4
appVersion: 6.7.1
name: podinfo
engine: gotpl
......
{{- define "privateRegistryAuth" -}}
{"auths":{"{{ .Values.privateRegistry }}":{"username":"{{ .Values.privateRegistryUsername }}","password":"{{ .Values.privateRegistryPassword }}","auth":"{{ printf "%s:%s" .Values.privateRegistryUsername .Values.privateRegistryPassword | b64enc }}"}}}
{{- end }}
{{- if .Values.privateRegistrySecret }}
apiVersion: v1
kind: Secret
metadata:
name: {{ .Values.privateRegistrySecretName }}
namespace: {{ .Release.Namespace }}
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: {{ include "privateRegistryAuth" . | b64enc | quote }}
{{- end }}
\ No newline at end of file
......@@ -168,3 +168,10 @@ waitJob:
permissions:
apiGroups: {}
resources: {}
privateRegistrySecret: false
privateRegistry: "registry1.dso.mil"
privateRegistryUsername: ""
privateRegistryPassword: ""
privateRegistryEmail: "help@dsop.io"
privateRegistrySecretName: "private-registry"
......@@ -237,3 +237,11 @@ waitJob:
permissions:
apiGroups: {}
resources: {}
privateRegistrySecret: false
privateRegistry: "registry1.dso.mil"
privateRegistryUsername: ""
privateRegistryPassword: ""
privateRegistryEmail: "help@dsop.io"
privateRegistrySecretName: "private-registry"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment