Initial upload

This commit is contained in:
Waldemar 2025-06-25 22:25:42 +02:00
parent 3bb2d629d5
commit a368827087
124 changed files with 195 additions and 202 deletions

View file

@ -1,14 +0,0 @@
apiVersion: grafana.integreatly.org/v1beta1
kind: Grafana
metadata:
name: grafana
labels:
dashboards: "grafana"
spec:
persistentVolumeClaim:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi

View file

@ -1,31 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: metric-server
namespace: argocd
labels:
env: dev
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://kubernetes-sigs.github.io/metrics-server
targetRevision: 3.12.1
helm:
releaseName: metrics-server
values: |
args:
- --kubelet-insecure-tls #required for kind/minikube
chart: metrics-server
destination:
server: 'https://kubernetes.default.svc'
namespace: kube-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View file

@ -12,8 +12,8 @@ spec:
name: in-cluster
namespace: argocd
source:
path: "otc/localtest.me/registry"
repoURL: "https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances"
path: "<no value>/<no value>/registry"
repoURL: "https://<no value>/<no value>"
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -12,8 +12,8 @@ spec:
name: in-cluster
namespace: argocd
source:
path: "otc/localtest.me/stacks/core"
repoURL: "https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances"
path: "<no value>/<no value>/stacks/core"
repoURL: "https://<no value>/<no value>"
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -12,8 +12,8 @@ spec:
name: in-cluster
namespace: argocd
source:
path: "otc/localtest.me/stacks/forgejo"
repoURL: "https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances"
path: "<no value>/<no value>/stacks/forgejo"
repoURL: "https://<no value>/<no value>"
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -12,8 +12,8 @@ spec:
name: in-cluster
namespace: argocd
source:
path: "otc/localtest.me/stacks/local-backup"
repoURL: "https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances"
path: "<no value>/<no value>/stacks/local-backup"
repoURL: "https://<no value>/<no value>"
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -12,8 +12,8 @@ spec:
name: in-cluster
namespace: argocd
source:
path: "otc/localtest.me/stacks/observability-client"
repoURL: "https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances"
path: "<no value>/<no value>/stacks/observability-client"
repoURL: "https://<no value>/<no value>"
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -12,8 +12,8 @@ spec:
name: in-cluster
namespace: argocd
source:
path: "otc/localtest.me/stacks/observability"
repoURL: "https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances"
path: "<no value>/<no value>/stacks/observability"
repoURL: "https://<no value>/<no value>"
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -12,8 +12,8 @@ spec:
name: in-cluster
namespace: argocd
source:
path: "otc/localtest.me/stacks/otc"
repoURL: "https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances"
path: "<no value>/<no value>/stacks/otc"
repoURL: "https://<no value>/<no value>"
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -12,8 +12,8 @@ spec:
name: in-cluster
namespace: argocd
source:
path: "otc/localtest.me/stacks/ref-implementation"
repoURL: "https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances"
path: "<no value>/<no value>/stacks/ref-implementation"
repoURL: "https://<no value>/<no value>"
targetRevision: HEAD
project: default
syncPolicy:

View file

@ -26,10 +26,10 @@ spec:
targetRevision: argo-cd-7.8.14-depends
helm:
valueFiles:
- $values/otc/localtest.me/stacks/core/argocd/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- $values/<no value>/<no value>/stacks/core/argocd/values.yaml
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
ref: values
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/core/argocd/manifests"
path: "<no value>/<no value>/stacks/core/argocd/manifests"

View file

@ -11,7 +11,7 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: argocd.localtest.me
- host: <no value>
http:
paths:
- backend:
@ -23,5 +23,5 @@ spec:
pathType: Prefix
tls:
- hosts:
- argocd.localtest.me
- <no value>
secretName: argocd-net-tls

View file

@ -1,5 +1,5 @@
global:
domain: argocd.localtest.me
domain: <no value>
configs:
params:
@ -19,7 +19,7 @@ configs:
clusters:
- "*"
accounts.provider-argocd: apiKey
url: https://argocd.localtest.me
url: https://<no value>
rbac:
policy.csv: 'g, provider-argocd, role:admin'

View file

@ -19,6 +19,6 @@ spec:
destination:
server: "https://kubernetes.default.svc"
source:
repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/forgejo/forgejo-runner"
path: "<no value>/<no value>/stacks/forgejo/forgejo-runner"

View file

@ -51,7 +51,7 @@ spec:
name: forgejo-runner-token
key: token
- name: FORGEJO_INSTANCE_URL
value: https://gitea.localtest.me
value: https://<no value>
volumeMounts:
- name: runner-data
mountPath: /data

View file

@ -29,10 +29,10 @@ spec:
targetRevision: v9.0.0-depends
helm:
valueFiles:
- $values/otc/localtest.me/stacks/forgejo/forgejo-server/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- $values/<no value>/<no value>/stacks/forgejo/forgejo-server/values.yaml
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
ref: values
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/forgejo/forgejo-server/manifests"
path: "<no value>/<no value>/stacks/forgejo/forgejo-server/manifests"

View file

@ -11,7 +11,7 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: gitea.localtest.me
- host: <no value>
http:
paths:
- backend:
@ -23,5 +23,5 @@ spec:
pathType: Prefix
tls:
- hosts:
- gitea.localtest.me
- <no value>
secretName: forgejo-net-tls

View file

@ -18,7 +18,7 @@ persistence:
enabled: true
size: 200Gi
annotations:
everest.io/crypt-key-id: KMS
everest.io/crypt-key-id: <no value>
test:
enabled: false
@ -111,7 +111,7 @@ gitea:
MINIO_ENDPOINT: obs.eu-de.otc.t-systems.com:443
STORAGE_TYPE: minio
MINIO_LOCATION: eu-de
MINIO_BUCKET: edp-forgejo-kind
MINIO_BUCKET: edp-forgejo-<no value>
MINIO_USE_SSL: true
queue:
@ -136,8 +136,8 @@ gitea:
SSL_MODE: verify-ca
server:
DOMAIN: 'gitea.localtest.me'
ROOT_URL: 'https://gitea.localtest.me:443'
DOMAIN: '<no value>'
ROOT_URL: 'https://<no value>:443'
mailer:
ENABLED: true

View file

@ -15,14 +15,14 @@ spec:
helm:
releaseName: minio
valueFiles:
- $values/otc/localtest.me/stacks/local-backup/minio/helm/values.yaml
- $values/<no value>/<no value>/stacks/local-backup/minio/helm/values.yaml
chart: minio
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
ref: values
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/local-backup/minio/manifests"
path: "<no value>/<no value>/stacks/local-backup/minio/manifests"
destination:
server: "https://kubernetes.default.svc"
namespace: minio-backup

View file

@ -15,9 +15,9 @@ spec:
helm:
releaseName: velero
valueFiles:
- $values/otc/localtest.me/stacks/local-backup/velero/helm/values.yaml
- $values/<no value>/<no value>/stacks/local-backup/velero/helm/values.yaml
chart: velero
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
ref: values
destination:

View file

@ -23,7 +23,7 @@ spec:
targetRevision: 3.12.2
helm:
valueFiles:
- $values/otc/localtest.me/stacks/observability-client/metrics-server/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- $values/<no value>/<no value>/stacks/observability-client/metrics-server/values.yaml
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
ref: values

View file

@ -23,7 +23,7 @@ spec:
targetRevision: 0.43.0
helm:
valueFiles:
- $values/otc/localtest.me/stacks/observability-client/vector/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- $values/<no value>/<no value>/stacks/observability-client/vector/values.yaml
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
ref: values

View file

@ -28,16 +28,16 @@ customConfig:
type: remap
inputs: [k8s]
source: |
.log = parse_json(.message) ?? .message
._msg = parse_json(.message) ?? .message
del(.message)
# Add the cluster environment to the log event
.cluster_environment = "kind"
.cluster_environment = "<no value>"
sinks:
vlogs:
type: elasticsearch
inputs: [parser]
endpoints:
- https://o12y.observability.think-ahead.cloud/insert/elasticsearch/
- https://<no value>/insert/elasticsearch/
auth:
strategy: basic
user: simple-user

View file

@ -19,13 +19,12 @@ spec:
- chart: victoria-metrics-k8s-stack
repoURL: https://victoriametrics.github.io/helm-charts/
targetRevision: 0.48.1
releaseName: vm-client
helm:
valueFiles:
- $values/otc/localtest.me/stacks/observability-client/vm-client-stack/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- $values/<no value>/<no value>/stacks/observability-client/vm-client-stack/values.yaml
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
ref: values
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/observability-client/vm-client-stack/manifests"
path: "<no value>/<no value>/stacks/observability-client/vm-client-stack/manifests"

View file

@ -763,9 +763,9 @@ vmauth:
annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
cert-manager.io/cluster-issuer: main
host: o12y.localtest.me
host: o12y.<no value>
tlsHosts:
- o12y.localtest.me
- o12y.<no value>
tlsSecretName: vmauth-tls-secret
unauthorizedUserAccessSpec: {}
selectAllByDefault: true
@ -778,7 +778,7 @@ vmagent:
# -- Remote write configuration of VMAgent, allowed parameters defined in a [spec](https://docs.victoriametrics.com/operator/api#vmagentremotewritespec)
additionalRemoteWrites:
# []
- url: https://o12y.observability.think-ahead.cloud/api/v1/write
- url: https://<no value>/api/v1/write
basicAuth:
username:
name: simple-user-secret
@ -792,7 +792,7 @@ vmagent:
selectAllByDefault: true
scrapeInterval: 20s
externalLabels:
cluster_environment: "kind"
cluster_environment: "<no value>"
# For multi-cluster setups it is useful to use "cluster" label to identify the metrics source.
# For example:
# cluster: cluster-name

View file

@ -20,7 +20,6 @@ spec:
- chart: grafana-operator
repoURL: ghcr.io/grafana/helm-charts
targetRevision: v5.18.0
releaseName: grafana-operator
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/observability/grafana-operator/manifests"
path: "<no value>/<no value>/stacks/observability/grafana-operator/manifests"

View file

@ -0,0 +1,36 @@
apiVersion: grafana.integreatly.org/v1beta1
kind: Grafana
metadata:
name: grafana
labels:
dashboards: "grafana"
spec:
persistentVolumeClaim:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
ingress:
metadata:
annotations:
cert-manager.io/cluster-issuer: main
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
rules:
- host: o12y.<no value>
http:
paths:
- backend:
service:
name: grafana-service
port:
number: 3000
path: /
pathType: Prefix
tls:
- hosts:
- o12y.<no value>
secretName: grafana-net-tls

View file

@ -20,13 +20,12 @@ spec:
- chart: victoria-metrics-k8s-stack
repoURL: https://victoriametrics.github.io/helm-charts/
targetRevision: 0.48.1
releaseName: o12y
helm:
valueFiles:
- $values/otc/localtest.me/stacks/observability/victoria-k8s-stack/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- $values/<no value>/<no value>/stacks/observability/victoria-k8s-stack/values.yaml
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
ref: values
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/observability/victoria-k8s-stack/manifests"
path: "<no value>/<no value>/stacks/observability/victoria-k8s-stack/manifests"

View file

@ -6,6 +6,9 @@ metadata:
spec:
retentionPeriod: "12"
removePvcAfterDelete: true
storageMetadata:
annotations:
everest.io/crypt-key-id: <no value>
storage:
accessModes:
- ReadWriteOnce

View file

@ -286,6 +286,9 @@ vmsingle:
retentionPeriod: "1"
replicaCount: 1
extraArgs: {}
storageMetadata:
annotations:
everest.io/crypt-key-id: <no value>
storage:
accessModes:
- ReadWriteOnce
@ -346,7 +349,7 @@ vmcluster:
spec:
resources:
requests:
storage: 10Gi
storage: 10Gi
resources:
{}
# limits:
@ -763,9 +766,9 @@ vmauth:
annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
cert-manager.io/cluster-issuer: main
host: o12y.observability.think-ahead.cloud
host: <no value>
tlsHosts:
- o12y.observability.think-ahead.cloud
- <no value>
tlsSecretName: vmauth-tls-secret
unauthorizedUserAccessSpec: {}
selectAllByDefault: true

View file

@ -23,10 +23,10 @@ spec:
targetRevision: v1.17.2
helm:
valueFiles:
- $values/otc/localtest.me/stacks/otc/cert-manager/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- $values/<no value>/<no value>/stacks/otc/cert-manager/values.yaml
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
ref: values
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/otc/cert-manager/manifests"
path: "<no value>/<no value>/stacks/otc/cert-manager/manifests"

View file

@ -23,7 +23,7 @@ spec:
targetRevision: helm-chart-4.12.1-depends
helm:
valueFiles:
- $values/otc/localtest.me/stacks/otc/ingress-nginx/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
- $values/<no value>/<no value>/stacks/otc/ingress-nginx/values.yaml
- repoURL: https://<no value>/<no value>
targetRevision: HEAD
ref: values

View file

@ -8,8 +8,8 @@ controller:
annotations:
kubernetes.io/elb.class: union
kubernetes.io/elb.port: '80'
kubernetes.io/elb.id: ABC
kubernetes.io/elb.ip: ABC
kubernetes.io/elb.id: <no value>
kubernetes.io/elb.ip: <no value>
ingressClassResource:
name: nginx

View file

@ -12,9 +12,9 @@ spec:
namespace: default
server: "https://kubernetes.default.svc"
source:
repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/otc/storageclass"
path: "<no value>/<no value>/stacks/otc/storageclass"
project: default
syncPolicy:
automated:

View file

@ -30,7 +30,7 @@ idpbuilder create --use-path-routing \
--package https://github.com/cnoe-io/stacks//ref-implementation
```
This will take ~6 minutes for everything to come up. To track the progress, you can go to the [ArgoCD UI](https://localtest.me:8443/argocd/applications).
This will take ~6 minutes for everything to come up. To track the progress, you can go to the [ArgoCD UI](https://<no value>:8443/argocd/applications).
### What was installed?
@ -47,15 +47,15 @@ The only package that cannot be removed this way is Keycloak because other packa
#### Accessing UIs
- Argo CD: https://localtest.me:8443/argocd
- Argo Workflows: https://localtest.me:8443/argo-workflows
- Backstage: https://localtest.me:8443/
- Gitea: https://localtest.me:8443/gitea
- Keycloak: https://localtest.me:8443/keycloak/admin/master/console/
- Argo CD: https://<no value>:8443/argocd
- Argo Workflows: https://<no value>:8443/argo-workflows
- Backstage: https://<no value>:8443/
- Gitea: https://<no value>:8443/gitea
- Keycloak: https://<no value>:8443/keycloak/admin/master/console/
# Using it
For this example, we will walk through a few demonstrations. Once applications are ready, go to the [backstage URL](https://localtest.me:8443).
For this example, we will walk through a few demonstrations. Once applications are ready, go to the [backstage URL](https://<no value>:8443).
Click on the Sign-In button, you will be asked to log into the Keycloak instance. There are two users set up in this
configuration, and their password can be retrieved with the following command:
@ -70,7 +70,7 @@ Both users use the same password retrieved above.
If you want to create a new user or change existing users:
1. Go to the [Keycloak UI](https://localtest.me:8443/keycloak/admin/master/console/).
1. Go to the [Keycloak UI](https://<no value>:8443/keycloak/admin/master/console/).
Login with the username `cnoe-admin`. Password is the `KEYCLOAK_ADMIN_PASSWORD` field from the command above.
2. Select `cnoe` from the realms drop down menu.
3. Select users tab.
@ -97,9 +97,9 @@ You can click on the ArgoCD Application name to see more details.
### What just happened?
1. Backstage created [a git repository](https://localtest.me:8443/gitea/giteaAdmin/demo), then pushed templated contents to it.
2. Backstage created [an ArgoCD Application](https://localtest.me:8443/argocd/applications/argocd/demo?) and pointed it to the git repository.
3. Backstage registered the application as [a component](https://localtest.me:8443/gitea/giteaAdmin/demo/src/branch/main/catalog-info.yaml) in Backstage.
1. Backstage created [a git repository](https://<no value>:8443/gitea/giteaAdmin/demo), then pushed templated contents to it.
2. Backstage created [an ArgoCD Application](https://<no value>:8443/argocd/applications/argocd/demo?) and pointed it to the git repository.
3. Backstage registered the application as [a component](https://<no value>:8443/gitea/giteaAdmin/demo/src/branch/main/catalog-info.yaml) in Backstage.
4. ArgoCD deployed the manifests stored in the repo to the cluster.
5. Backstage retrieved application health from ArgoCD API, then displayed it.

View file

@ -10,9 +10,9 @@ metadata:
spec:
project: default
source:
repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/ref-implementation/argo-workflows/manifests/dev"
path: "<no value>/<no value>/stacks/ref-implementation/argo-workflows/manifests/dev"
destination:
server: "https://kubernetes.default.svc"
namespace: argo

View file

@ -7,14 +7,14 @@ data:
config: |
sso:
insecureSkipVerify: true
issuer: https://localtest.me/keycloak/realms/cnoe
issuer: https://<no value>/keycloak/realms/cnoe
clientId:
name: keycloak-oidc
key: client-id
clientSecret:
name: keycloak-oidc
key: secret-key
redirectUrl: https://localtest.me:443/argo-workflows/oauth2/callback
redirectUrl: https://<no value>:443/argo-workflows/oauth2/callback
rbac:
enabled: true
scopes:

View file

@ -10,9 +10,9 @@ metadata:
spec:
project: default
source:
repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/ref-implementation/backstage-templates/entities"
path: "<no value>/<no value>/stacks/ref-implementation/backstage-templates/entities"
directory:
exclude: "catalog-info.yaml"
destination:

View file

@ -20,7 +20,7 @@ metadata:
backstage.io/kubernetes-namespace: default
argocd/app-name: ${{values.name | dump}}
links:
- url: https://gitea.localtest.me:443
- url: https://<no value>:443
title: Repo URL
icon: github
spec:

View file

@ -100,7 +100,7 @@ spec:
input:
description: This is an example app
# Hard coded value for this demo purposes only.
repoUrl: gitea.localtest.me:443/?repo=${{parameters.name}}
repoUrl: <no value>:443/?repo=${{parameters.name}}
defaultBranch: main
- id: create-argocd-app
name: Create ArgoCD App
@ -111,7 +111,7 @@ spec:
argoInstance: in-cluster
projectName: default
# necessary until we generate our own cert
repoUrl: https://gitea.localtest.me:443/giteaAdmin/${{parameters.name}}
repoUrl: https://<no value>:443/giteaAdmin/${{parameters.name}}
path: "kustomize/base"
- id: register
name: Register

View file

@ -14,7 +14,7 @@ metadata:
apache-spark.cnoe.io/label-selector: env=dev,entity-id=${{values.name}}
apache-spark.cnoe.io/cluster-name: local
links:
- url: https://gitea.localtest.me:443
- url: https://<no value>:443
title: Repo URL
icon: github
spec:

View file

@ -35,7 +35,7 @@ spec:
input:
description: This is an example app
# Hard coded value for this demo purposes only.
repoUrl: gitea.localtest.me:443/?repo=${{parameters.name}}
repoUrl: <no value>:443/?repo=${{parameters.name}}
defaultBranch: main
- id: create-argocd-app
name: Create ArgoCD App
@ -46,7 +46,7 @@ spec:
argoInstance: in-cluster
projectName: default
# necessary until we generate our own cert
repoUrl: https://gitea.localtest.me:443/giteaAdmin/${{parameters.name}}
repoUrl: https://<no value>:443/giteaAdmin/${{parameters.name}}
path: "manifests"
- id: register
name: Register

View file

@ -10,7 +10,7 @@ metadata:
backstage.io/kubernetes-namespace: default
argocd/app-name: ${{values.name | dump}}
links:
- url: https://gitea.localtest.me:443
- url: https://<no value>:443
title: Repo URL
icon: github
spec:

View file

@ -31,7 +31,7 @@ spec:
input:
description: This is an example app
# Hard coded value for this demo purposes only.
repoUrl: gitea.localtest.me:443/?repo=${{parameters.name}}
repoUrl: <no value>:443/?repo=${{parameters.name}}
defaultBranch: main
- id: create-argocd-app
name: Create ArgoCD App
@ -42,7 +42,7 @@ spec:
argoInstance: in-cluster
projectName: default
# necessary until we generate our own cert
repoUrl: https://gitea.localtest.me:443/giteaAdmin/${{parameters.name}}
repoUrl: https://<no value>:443/giteaAdmin/${{parameters.name}}
path: "manifests"
- id: register
name: Register

View file

@ -9,7 +9,7 @@ metadata:
backstage.io/kubernetes-label-selector: 'entity-id=${{ values.name }}'
backstage.io/kubernetes-namespace: gitea
links:
- url: https://gitea.localtest.me:443
- url: https://<no value>:443
title: Repo URL
icon: git
spec:
@ -26,7 +26,7 @@ metadata:
annotations:
backstage.io/techdocs-ref: dir:.
links:
- url: https://gitea.localtest.me:443
- url: https://<no value>:443
title: Gitea Repo
icon: git
spec:

View file

@ -33,7 +33,7 @@ spec:
name: Publish to Gitea
action: publish:gitea
input:
repoUrl: gitea.localtest.me:443/?repo=${{parameters.name}}
repoUrl: <no value>:443/?repo=${{parameters.name}}
description: This is the repository for ${{ parameters.name }}
sourcePath: ./skeleton
defaultBranch: main

View file

@ -33,7 +33,7 @@ jobs:
#run: ./mvnw spring-boot:build-image # the original image build
run: |
export CONTAINER_REPO=$(echo {% raw %}${{ env.GITHUB_REPOSITORY }}{% endraw %} | tr '[:upper:]' '[:lower:]')
./mvnw com.google.cloud.tools:jib-maven-plugin:3.4.4:build -Djib.allowInsecureRegistries=true -Dimage=gitea.localtest.me/${CONTAINER_REPO}:latest -Djib.to.auth.username={% raw %}${{ secrets.PACKAGES_USER }}{% endraw %} -Djib.to.auth.password={% raw %}${{ secrets.PACKAGES_TOKEN }}{% endraw %} -Djib.from.platforms=linux/arm64,linux/amd64
./mvnw com.google.cloud.tools:jib-maven-plugin:3.4.4:build -Djib.allowInsecureRegistries=true -Dimage=<no value>/${CONTAINER_REPO}:latest -Djib.to.auth.username={% raw %}${{ secrets.PACKAGES_USER }}{% endraw %} -Djib.to.auth.password={% raw %}${{ secrets.PACKAGES_TOKEN }}{% endraw %} -Djib.from.platforms=linux/arm64,linux/amd64
- name: Build image as tar
run: |
./mvnw com.google.cloud.tools:jib-maven-plugin:3.4.4:buildTar -Djib.allowInsecureRegistries=true

View file

@ -9,7 +9,7 @@ metadata:
backstage.io/kubernetes-label-selector: 'entity-id=${{ values.name }}'
backstage.io/kubernetes-namespace: gitea
links:
- url: https://gitea.localtest.me:443
- url: https://<no value>:443
title: Repo URL
icon: git
spec:
@ -26,7 +26,7 @@ metadata:
annotations:
backstage.io/techdocs-ref: dir:.
links:
- url: https://gitea.localtest.me:443
- url: https://<no value>:443
title: Gitea Repo
icon: git
spec:

View file

@ -28,7 +28,7 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: ${{ values.namespace }}.localtest.me
- host: ${{ values.namespace }}.<no value>
http:
paths:
- backend:
@ -58,7 +58,7 @@ spec:
spec:
containers:
- name: workload
image: gitea.localtest.me/giteaadmin/${{ values.name }}
image: <no value>/giteaadmin/${{ values.name }}
env:
- name: SPRING_PROFILES_ACTIVE
value: postgres

View file

@ -50,7 +50,7 @@ spec:
name: Publish to Gitea
action: publish:gitea
input:
repoUrl: gitea.localtest.me:443/?repo=${{parameters.name}}
repoUrl: <no value>:443/?repo=${{parameters.name}}
description: This is the repository for ${{ parameters.name }}
sourcePath: ./
defaultBranch: main
@ -64,7 +64,7 @@ spec:
argoInstance: in-cluster
projectName: default
# necessary until we generate our own cert
repoUrl: https://gitea.localtest.me:443/giteaAdmin/${{parameters.name}}
repoUrl: https://<no value>:443/giteaAdmin/${{parameters.name}}
path: "k8s"
- id: register

View file

@ -10,9 +10,9 @@ metadata:
spec:
project: default
source:
repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
repoURL: https://<no value>/<no value>
targetRevision: HEAD
path: "otc/localtest.me/stacks/ref-implementation/backstage/manifests"
path: "<no value>/<no value>/stacks/ref-implementation/backstage/manifests"
destination:
server: "https://kubernetes.default.svc"
namespace: backstage

Some files were not shown because too many files have changed in this diff Show more