Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions charts/all/config-demo/templates/config-demo-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ spec:
deploymentconfig: config-demo
template:
metadata:
creationTimestamp: null
labels:
app: config-demo
deploymentconfig: config-demo
Expand All @@ -24,8 +23,8 @@ spec:
type: RuntimeDefault
containers:
- name: apache
image: registry.access.redhat.com/ubi10/httpd-24:10.0-1755779646
#imagePullPolicy: Always
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 8080
name: http
Expand All @@ -51,7 +50,7 @@ spec:
memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false
readOnlyRootFilesystem: true
runAsNonRoot: true
capabilities:
drop:
Expand Down
2 changes: 1 addition & 1 deletion charts/all/config-demo/templates/config-demo-route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ spec:
weight: 100
wildcardPolicy: None
tls:
insecureEdgeTerminationPolicy: Allow
insecureEdgeTerminationPolicy: Redirect
termination: edge
5 changes: 5 additions & 0 deletions charts/all/config-demo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ global:

clusterGroup:
isHubCluster: true

image:
repository: registry.access.redhat.com/ubi10/httpd-24
tag: "10.0-1755779646"
pullPolicy: IfNotPresent
4 changes: 2 additions & 2 deletions charts/all/hello-world/templates/hello-world-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ spec:
type: RuntimeDefault
containers:
- name: apache
image: registry.access.redhat.com/ubi10/httpd-24:10.0-1755779646
#imagePullPolicy: Always
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 8080
name: http
Expand Down
2 changes: 1 addition & 1 deletion charts/all/hello-world/templates/hello-world-route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ spec:
weight: 100
wildcardPolicy: None
tls:
insecureEdgeTerminationPolicy: Allow
insecureEdgeTerminationPolicy: Redirect
termination: edge
7 changes: 6 additions & 1 deletion charts/all/hello-world/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
global:
hubClusterDomain: hub.example.com
localCluster: local.example.com
localClusterDomain: local.example.com

image:
repository: registry.access.redhat.com/ubi10/httpd-24
tag: "10.0-1755779646"
pullPolicy: IfNotPresent
10 changes: 5 additions & 5 deletions values-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ clusterGroup:
- config-demo
- hello-world
subscriptions: {}
projects:
argoProjects:
- hub
- config-demo
- hello-world
Expand All @@ -26,24 +26,24 @@ clusterGroup:
vault:
name: vault
namespace: vault
project: hub
argoProject: hub
chart: hashicorp-vault
chartVersion: 0.1.*
golang-external-secrets:
name: golang-external-secrets
namespace: golang-external-secrets
project: hub
argoProject: hub
chart: golang-external-secrets
chartVersion: 0.1.*
config-demo:
name: config-demo
namespace: config-demo
project: config-demo
argoProject: config-demo
path: charts/all/config-demo
hello-world:
name: hello-world
namespace: hello-world
project: hello-world
argoProject: hello-world
path: charts/all/hello-world
imperative:
# NOTE: We *must* use lists and not hashes. As hashes lose ordering once parsed by helm
Expand Down