UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
P
Packages
Developer Tools
Nexus
Commits
2e8d10cd
Commit
2e8d10cd
authored
Jul 28, 2021
by
Timothy J. Miller
Committed by
kevin.wilder
Jul 28, 2021
Browse files
Fix extralabels indentation and add to Deployment pod template
parent
a2457f05
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
84 additions
and
67 deletions
+84
-67
CHANGELOG.md
CHANGELOG.md
+6
-0
chart/Chart.yaml
chart/Chart.yaml
+1
-1
chart/templates/bigbang/configmap-proxy.yaml
chart/templates/bigbang/configmap-proxy.yaml
+5
-5
chart/templates/bigbang/configmap-sso.yaml
chart/templates/bigbang/configmap-sso.yaml
+5
-5
chart/templates/bigbang/license.yaml
chart/templates/bigbang/license.yaml
+6
-6
chart/templates/bigbang/secret.yaml
chart/templates/bigbang/secret.yaml
+5
-5
chart/templates/configmap-properties.yaml
chart/templates/configmap-properties.yaml
+6
-6
chart/templates/configmap.yaml
chart/templates/configmap.yaml
+6
-6
chart/templates/deployment.yaml
chart/templates/deployment.yaml
+7
-4
chart/templates/ingress.yaml
chart/templates/ingress.yaml
+5
-5
chart/templates/psp-clusterrole.yaml
chart/templates/psp-clusterrole.yaml
+4
-2
chart/templates/psp-rolebinding.yaml
chart/templates/psp-rolebinding.yaml
+4
-2
chart/templates/psp.yaml
chart/templates/psp.yaml
+3
-1
chart/templates/pv.yaml
chart/templates/pv.yaml
+5
-5
chart/templates/pvc.yaml
chart/templates/pvc.yaml
+5
-5
chart/templates/service.yaml
chart/templates/service.yaml
+5
-5
chart/templates/serviceaccount.yaml
chart/templates/serviceaccount.yaml
+4
-4
chart/values.yaml
chart/values.yaml
+2
-0
No files found.
CHANGELOG.md
View file @
2e8d10cd
# Changelog
---
## [29.1.0-bb.7] - 2021-07-27
### Fixes
-
Fixed extraLabels indentation in all resources that have it.
### Added
-
Added extraLabels to Deployment template labels.
## [29.1.0-bb.6] - 2021-06-30
### Added
-
Add openshift toggle, conditionally add port 5353 egress. Changing "openshift:" to true in values.yaml will enable.
...
...
chart/Chart.yaml
View file @
2e8d10cd
apiVersion
:
v2
name
:
nexus-repository-manager
version
:
29.1.0-bb.
6
version
:
29.1.0-bb.
7
appVersion
:
3.29.0
description
:
Sonatype Nexus Repository Manager - Universal Binary repository
type
:
application
...
...
chart/templates/bigbang/configmap-proxy.yaml
View file @
2e8d10cd
...
...
@@ -4,11 +4,11 @@ kind: ConfigMap
metadata
:
name
:
{{
template "nexus.name" .
}}
-proxy
labels
:
{{
- include "nexus.labels" . | nindent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
data
:
proxy
:
{{
.Values.proxy.request | toJson | quote
}}
{{
- end
}}
...
...
chart/templates/bigbang/configmap-sso.yaml
View file @
2e8d10cd
...
...
@@ -4,11 +4,11 @@ kind: ConfigMap
metadata
:
name
:
{{
template "nexus.name" .
}}
-sso
labels
:
{{
- include "nexus.labels" . | nindent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
data
:
idp-metadata
:
{{
.Values.sso.idp_data | toJson | quote
}}
#realm: {{ .Values.sso.realm | quote }}
...
...
chart/templates/bigbang/license.yaml
View file @
2e8d10cd
...
...
@@ -5,11 +5,11 @@ metadata:
name
:
{{
template "nexus.name" .
}}
-license
labels
:
{{
include "nexus.labels" . | indent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
data
:
{{
include "nexus.licenseKey" . | indent 2
}}
{{
- end -
}}
\ No newline at end of file
{{
- end -
}}
chart/templates/bigbang/secret.yaml
View file @
2e8d10cd
...
...
@@ -13,11 +13,11 @@ metadata:
name
:
{{
template "nexus.name" .
}}
-secret
labels
:
{{
include "nexus.labels" . | indent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
data
:
admin.password
:
{{
$nexusAdminPass
}}
admin.username
:
YWRtaW4K
...
...
chart/templates/configmap-properties.yaml
View file @
2e8d10cd
...
...
@@ -4,11 +4,11 @@ kind: ConfigMap
metadata
:
name
:
{{
template "nexus.name" .
}}
-properties
labels
:
{{
- include "nexus.labels" . | nindent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
data
:
nexus.properties
:
|
{{- $data := dict -}}
...
...
@@ -20,4 +20,4 @@ data:
{{- range $k, $v := $data }}
{{ $k }}={{ $v }}
{{- end }}
{{
- end
}}
\ No newline at end of file
{{
- end
}}
chart/templates/configmap.yaml
View file @
2e8d10cd
...
...
@@ -5,11 +5,11 @@ metadata:
name
:
{{
template "nexus.name" .
}}
-conf
labels
:
{{
include "nexus.labels" . | indent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
data
:
{{
toYaml .Values.config.data | indent 2
}}
{{
- end
}}
\ No newline at end of file
{{
- end
}}
chart/templates/deployment.yaml
View file @
2e8d10cd
...
...
@@ -4,11 +4,11 @@ metadata:
name
:
{{
template "nexus.fullname" .
}}
labels
:
{{
include "nexus.labels" . | indent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml . | indent 4
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.deployment.annotations
}}
annotations
:
{{
toYaml .Values.deployment.annotations | indent 4
}}
...
...
@@ -34,6 +34,9 @@ spec:
{{
- end
}}
labels
:
{{
- include "nexus.selectorLabels" . | nindent 8
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
spec
:
serviceAccountName
:
{{
include "nexus.serviceAccountName" .
}}
{{
- if .Values.deployment.initContainers
}}
...
...
chart/templates/ingress.yaml
View file @
2e8d10cd
...
...
@@ -8,11 +8,11 @@ metadata:
name
:
{{
$fullName
}}
labels
:
{{
- include "nexus.labels" . | nindent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
{{
- with .Values.ingress.annotations
}}
annotations
:
{{
- toYaml . | nindent 4
}}
...
...
chart/templates/psp-clusterrole.yaml
View file @
2e8d10cd
...
...
@@ -3,9 +3,11 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind
:
ClusterRole
metadata
:
labels
:
{{
- include "nexus.labels" . | nindent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
name
:
{{
template "nexus.name" .
}}
-psp-use
rules
:
-
apiGroups
:
...
...
@@ -16,4 +18,4 @@ rules:
-
{{
template "nexus.name" .
}}
verbs
:
-
use
{{
- end -
}}
\ No newline at end of file
{{
- end -
}}
chart/templates/psp-rolebinding.yaml
View file @
2e8d10cd
...
...
@@ -3,9 +3,11 @@ apiVersion: rbac.authorization.k8s.io/v1
kind
:
RoleBinding
metadata
:
labels
:
{{
- include "nexus.labels" . | nindent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
name
:
{{
template "nexus.name" .
}}
-psp-use
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
...
...
@@ -14,4 +16,4 @@ roleRef:
subjects
:
-
kind
:
ServiceAccount
name
:
{{
include "nexus.serviceAccountName" .
}}
{{
- end -
}}
\ No newline at end of file
{{
- end -
}}
chart/templates/psp.yaml
View file @
2e8d10cd
...
...
@@ -3,9 +3,11 @@ apiVersion: policy/v1beta1
kind
:
PodSecurityPolicy
metadata
:
labels
:
{{
- include "nexus.labels" . | nindent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
name
:
{{
template "nexus.name" .
}}
spec
:
requiredDropCapabilities
:
...
...
chart/templates/pv.yaml
View file @
2e8d10cd
...
...
@@ -6,11 +6,11 @@ metadata:
name
:
{{
.Values.persistence.pdName
}}
labels
:
{{
include "nexus.labels" . | indent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
spec
:
capacity
:
storage
:
{{
.Values.persistence.storageSize
}}
...
...
chart/templates/pvc.yaml
View file @
2e8d10cd
...
...
@@ -5,11 +5,11 @@ metadata:
name
:
{{
template "nexus.fullname" .
}}
-data
labels
:
{{
include "nexus.labels" . | indent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.persistence.annotations
}}
annotations
:
{{
toYaml .Values.persistence.annotations | indent 4
}}
...
...
chart/templates/service.yaml
View file @
2e8d10cd
...
...
@@ -10,11 +10,11 @@ metadata:
{{
- end
}}
labels
:
{{
- include "nexus.labels" . | nindent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
| indent 4
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
spec
:
type
:
{{
.Values.service.type
}}
ports
:
...
...
chart/templates/serviceaccount.yaml
View file @
2e8d10cd
...
...
@@ -4,11 +4,11 @@ kind: ServiceAccount
metadata
:
name
:
{{
include "nexus.serviceAccountName" .
}}
labels
:
{{
- include "nexus.labels" . | nindent 4
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml . | indent 4
}}
{{
- end
}}
{{
- if .Values.nexus.extraLabels
}}
{{
- with .Values.nexus.extraLabels
}}
{{
toYaml .
}}
{{
- end
}}
{{
- end
}}
{{
- with .Values.serviceAccount.annotations
}}
annotations
:
{{
- toYaml . | nindent 4
}}
{{
- end
}}
...
...
chart/values.yaml
View file @
2e8d10cd
...
...
@@ -100,6 +100,8 @@ image:
pullPolicy
:
IfNotPresent
nexus
:
extraLabels
:
app
:
nexus-repository-manager
docker
:
enabled
:
false
registries
:
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment