Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Commit 9ae75a2

Browse files
swap clientserver to correct image + linting
1 parent 8c9171b commit 9ae75a2

File tree

12 files changed

+521
-100
lines changed

12 files changed

+521
-100
lines changed

automated-testing.sh

Lines changed: 0 additions & 75 deletions
This file was deleted.

charts/trusted-artifact-signer/templates/clientserver-deployment.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ spec:
2222
containers:
2323
- name: tas-clients
2424
image: "{{ template "image" .Values.configs.clientserver.image }}"
25-
#image: quay.io/sallyom/tas-clients:httpd
2625
imagePullPolicy: IfNotPresent
2726
ports:
2827
- containerPort: 8080

charts/trusted-artifact-signer/templates/segment-backup-job.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ spec:
1919
serviceAccountName: segment-backup-job
2020
containers:
2121
- name: {{ .Values.configs.segment_backup_job.name }}
22-
# image: "{{ .Values.configs.segment_backup_job.image.registry }}/{{ .Values.configs.segment_backup_job.image.repository }}/{{ .Values.configs.segment_backup_job.image.version }}"
23-
image: "{{ .Values.configs.segment_backup_job.image.registry }}/{{ .Values.configs.segment_backup_job.image.repository }}@{{ .Values.configs.segment_backup_job.image.version }}"
22+
image: "{{ template "image" .Values.configs.segment_backup_job.image }}"
2423
command: ["/bin/bash", "/opt/app-root/src/script.sh"]
2524
env:
2625
- name: RUN_TYPE

charts/trusted-artifact-signer/values.yaml

Lines changed: 37 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ configs:
2727
namespace_create: true
2828
namespace: trusted-artifact-signer-clientserver
2929
image:
30-
registry: registry.redhat.io
31-
repository: rhtas-tech-preview/client-server-rhel9
32-
version: sha256:07b1c06290706873ee55e39bad5804ea1d7574b01909adf97d67495ad919f9a1
30+
registry: quay.io
31+
repository: redhat-user-workloads/rhtas-tenant/access-1-0-gamma/client-server-1-0-gamma
32+
version: sha256:d8540b72f67c3947287d30913a9277770a43eb37eff2dd3efcb8e24759a106ac
3333
pullPolicy: IfNotPresent
3434
ctlog:
3535
namespace: ctlog-system
@@ -40,7 +40,6 @@ configs:
4040
- ctlog
4141
- ctlog-createtree
4242
- trusted-artifact-signer-ctlog-createctconfig
43-
4443
rekor:
4544
namespace_create: true
4645
namespace: rekor-system
@@ -69,7 +68,6 @@ configs:
6968
- interval: 30s
7069
port: 2112-tcp
7170
scheme: http
72-
7371
fulcio:
7472
namespace_create: true
7573
namespace: fulcio-system
@@ -108,7 +106,6 @@ configs:
108106
- interval: 30s
109107
port: 2112-tcp
110108
scheme: http
111-
112109
trillian:
113110
namespace_create: true
114111
namespace: trillian-system
@@ -118,7 +115,6 @@ configs:
118115
- trillian-logserver
119116
- trillian-logsigner
120117
- trillian-mysql
121-
122118
tuf:
123119
namespace: tuf-system
124120
namespace_create: true
@@ -127,7 +123,6 @@ configs:
127123
rolebindings:
128124
- tuf
129125
- tuf-secret-copy-job
130-
131126
cosign_deploy:
132127
enabled: false
133128
namespace: cosign
@@ -144,6 +139,13 @@ configs:
144139
repository: rhtas-tech-preview/cosign-rhel9
145140
version: sha256:f4c2cec3fc1e24bbe094b511f6fe2fe3c6fa972da0edacaf6ac5672f06253a3e
146141
pullPolicy: IfNotPresent
142+
# tsa:
143+
# namespace: tsa-system
144+
# namespace_create: true
145+
# # -- names for rolebindings to add clusterroles to tuf serviceaccounts.
146+
# # The names must match the serviceaccount names in the tuf namespace.
147+
# rolebindings:
148+
# - tsa-server
147149

148150
rbac:
149151
# -- clusterrole to be added to sigstore component serviceaccounts.
@@ -223,10 +225,6 @@ scaffold:
223225
className: ""
224226
annotations:
225227
route.openshift.io/termination: "edge"
226-
hosts:
227-
- host: fulcio.appsSubdomain
228-
path: /
229-
230228
rekor:
231229
enabled: true
232230
forceNamespace: rekor-system
@@ -257,10 +255,6 @@ scaffold:
257255
className: ""
258256
annotations:
259257
route.openshift.io/termination: "edge"
260-
hosts:
261-
- host: rekor.appsSubdomain
262-
path: /
263-
264258
createtree:
265259
image:
266260
registry: registry.redhat.io
@@ -384,15 +378,10 @@ scaffold:
384378
className: ""
385379
annotations:
386380
route.openshift.io/termination: "edge"
387-
http:
388-
hosts:
389-
- host: tuf.appsSubdomain
390-
path: /
391381
deployment:
392382
registry: registry.redhat.io
393383
repository: rhtas-tech-preview/tuf-server-rhel9
394384
version: sha256:413e361de99f09e617084438b2fc3c9c477f4a8e2cd65bd5f48271e66d57a9d9
395-
396385
copySecretJob:
397386
name: copy-secrets-job
398387
enabled: true
@@ -405,9 +394,36 @@ scaffold:
405394

406395
tsa:
407396
enabled: false
397+
# enabled: true
408398
forceNamespace: tsa-system
409399
namespace:
410400
create: false
411401
name: tsa-system
412402
server:
413403
fullnameOverride: tsa-server
404+
image:
405+
registry: quay.io
406+
repository: redhat-user-workloads/rhtas-tenant/tsa-1-0-gamma/timestamp-authority-1-0-gamma
407+
version: sha256:4a142e1581801501705ab955109dc9a12bfd3e2232efa67b27b07bd7c290a40b
408+
imagePullPolicy: IfNotPresent
409+
ingress:
410+
http:
411+
enabled: true
412+
className: ""
413+
annotations:
414+
route.openshift.io/termination: "edge"
415+
serviceAccount:
416+
create: true
417+
name: "tsa-server"
418+
mountToken: false
419+
securityContext:
420+
runAsUser: 1000620001
421+
supplementalGroups: [1000620001]
422+
allowPrivilegeEscalation: false
423+
capabilities:
424+
drop:
425+
- ALL
426+
containerSecurityContext:
427+
testing: "true"
428+
429+

examples/values-sigstore-openshift.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,11 @@ scaffold:
4545
http:
4646
hosts:
4747
- host: tuf.$OPENSHIFT_APPS_SUBDOMAIN
48-
path: /
48+
path: /
49+
# tsa:
50+
# server:
51+
# ingress:
52+
# http:
53+
# hosts:
54+
# - host: tsa.$OPENSHIFT_APPS_SUBDOMAIN
55+
# path: /

tas-easy-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ oc -n rekor-system create secret generic rekor-private-key --from-file=private=.
144144
#OPENSHIFT_APPS_SUBDOMAIN=$common_name envsubst < examples/values-sigstore-openshift.yaml | helm install --debug trusted-artifact-signer trusted-artifact-signer/trusted-artifact-signer -n trusted-artifact-signer --create-namespace --values -
145145
OPENSHIFT_APPS_SUBDOMAIN=$common_name envsubst < examples/values-sigstore-openshift.yaml | helm upgrade -i trusted-artifact-signer --debug charts/trusted-artifact-signer -n trusted-artifact-signer --create-namespace --values -
146146

147+
oc set env -n fulcio-system deployment/fulcio-server SSL_CERT_DIR=/var/run/fulcio
147148
# Create the script to initialize the environment variables for the service endpoints
148149
generate_env_script
149150

testing/Dockerfile.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM scratch
2+
ADD test-file.txt /

0 commit comments

Comments
 (0)