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 name: in-cluster
namespace: argocd namespace: argocd
source: source:
path: "otc/localtest.me/registry" path: "<no value>/<no value>/registry"
repoURL: "https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances" repoURL: "https://<no value>/<no value>"
targetRevision: HEAD targetRevision: HEAD
project: default project: default
syncPolicy: syncPolicy:

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -26,10 +26,10 @@ spec:
targetRevision: argo-cd-7.8.14-depends targetRevision: argo-cd-7.8.14-depends
helm: helm:
valueFiles: valueFiles:
- $values/otc/localtest.me/stacks/core/argocd/values.yaml - $values/<no value>/<no value>/stacks/core/argocd/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances - repoURL: https://<no value>/<no value>
targetRevision: HEAD targetRevision: HEAD
ref: values ref: values
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances - repoURL: https://<no value>/<no value>
targetRevision: HEAD 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: spec:
ingressClassName: nginx ingressClassName: nginx
rules: rules:
- host: argocd.localtest.me - host: <no value>
http: http:
paths: paths:
- backend: - backend:
@ -23,5 +23,5 @@ spec:
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- argocd.localtest.me - <no value>
secretName: argocd-net-tls secretName: argocd-net-tls

View file

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

View file

@ -19,6 +19,6 @@ spec:
destination: destination:
server: "https://kubernetes.default.svc" server: "https://kubernetes.default.svc"
source: source:
repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances repoURL: https://<no value>/<no value>
targetRevision: HEAD 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 name: forgejo-runner-token
key: token key: token
- name: FORGEJO_INSTANCE_URL - name: FORGEJO_INSTANCE_URL
value: https://gitea.localtest.me value: https://<no value>
volumeMounts: volumeMounts:
- name: runner-data - name: runner-data
mountPath: /data mountPath: /data

View file

@ -29,10 +29,10 @@ spec:
targetRevision: v9.0.0-depends targetRevision: v9.0.0-depends
helm: helm:
valueFiles: valueFiles:
- $values/otc/localtest.me/stacks/forgejo/forgejo-server/values.yaml - $values/<no value>/<no value>/stacks/forgejo/forgejo-server/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances - repoURL: https://<no value>/<no value>
targetRevision: HEAD targetRevision: HEAD
ref: values ref: values
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances - repoURL: https://<no value>/<no value>
targetRevision: HEAD 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: spec:
ingressClassName: nginx ingressClassName: nginx
rules: rules:
- host: gitea.localtest.me - host: <no value>
http: http:
paths: paths:
- backend: - backend:
@ -23,5 +23,5 @@ spec:
pathType: Prefix pathType: Prefix
tls: tls:
- hosts: - hosts:
- gitea.localtest.me - <no value>
secretName: forgejo-net-tls secretName: forgejo-net-tls

View file

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

View file

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

View file

@ -15,9 +15,9 @@ spec:
helm: helm:
releaseName: velero releaseName: velero
valueFiles: 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 chart: velero
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances - repoURL: https://<no value>/<no value>
targetRevision: HEAD targetRevision: HEAD
ref: values ref: values
destination: destination:

View file

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

View file

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

View file

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

View file

@ -19,13 +19,12 @@ spec:
- chart: victoria-metrics-k8s-stack - chart: victoria-metrics-k8s-stack
repoURL: https://victoriametrics.github.io/helm-charts/ repoURL: https://victoriametrics.github.io/helm-charts/
targetRevision: 0.48.1 targetRevision: 0.48.1
releaseName: vm-client
helm: helm:
valueFiles: valueFiles:
- $values/otc/localtest.me/stacks/observability-client/vm-client-stack/values.yaml - $values/<no value>/<no value>/stacks/observability-client/vm-client-stack/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances - repoURL: https://<no value>/<no value>
targetRevision: HEAD targetRevision: HEAD
ref: values ref: values
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances - repoURL: https://<no value>/<no value>
targetRevision: HEAD 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: annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
cert-manager.io/cluster-issuer: main cert-manager.io/cluster-issuer: main
host: o12y.localtest.me host: o12y.<no value>
tlsHosts: tlsHosts:
- o12y.localtest.me - o12y.<no value>
tlsSecretName: vmauth-tls-secret tlsSecretName: vmauth-tls-secret
unauthorizedUserAccessSpec: {} unauthorizedUserAccessSpec: {}
selectAllByDefault: true 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) # -- Remote write configuration of VMAgent, allowed parameters defined in a [spec](https://docs.victoriametrics.com/operator/api#vmagentremotewritespec)
additionalRemoteWrites: additionalRemoteWrites:
# [] # []
- url: https://o12y.observability.think-ahead.cloud/api/v1/write - url: https://<no value>/api/v1/write
basicAuth: basicAuth:
username: username:
name: simple-user-secret name: simple-user-secret
@ -792,7 +792,7 @@ vmagent:
selectAllByDefault: true selectAllByDefault: true
scrapeInterval: 20s scrapeInterval: 20s
externalLabels: 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 multi-cluster setups it is useful to use "cluster" label to identify the metrics source.
# For example: # For example:
# cluster: cluster-name # cluster: cluster-name

View file

@ -20,7 +20,6 @@ spec:
- chart: grafana-operator - chart: grafana-operator
repoURL: ghcr.io/grafana/helm-charts repoURL: ghcr.io/grafana/helm-charts
targetRevision: v5.18.0 targetRevision: v5.18.0
releaseName: grafana-operator - repoURL: https://<no value>/<no value>
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances
targetRevision: HEAD 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 - chart: victoria-metrics-k8s-stack
repoURL: https://victoriametrics.github.io/helm-charts/ repoURL: https://victoriametrics.github.io/helm-charts/
targetRevision: 0.48.1 targetRevision: 0.48.1
releaseName: o12y
helm: helm:
valueFiles: valueFiles:
- $values/otc/localtest.me/stacks/observability/victoria-k8s-stack/values.yaml - $values/<no value>/<no value>/stacks/observability/victoria-k8s-stack/values.yaml
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances - repoURL: https://<no value>/<no value>
targetRevision: HEAD targetRevision: HEAD
ref: values ref: values
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances - repoURL: https://<no value>/<no value>
targetRevision: HEAD 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: spec:
retentionPeriod: "12" retentionPeriod: "12"
removePvcAfterDelete: true removePvcAfterDelete: true
storageMetadata:
annotations:
everest.io/crypt-key-id: <no value>
storage: storage:
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce

View file

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

View file

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

View file

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

View file

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

View file

@ -30,7 +30,7 @@ idpbuilder create --use-path-routing \
--package https://github.com/cnoe-io/stacks//ref-implementation --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? ### What was installed?
@ -47,15 +47,15 @@ The only package that cannot be removed this way is Keycloak because other packa
#### Accessing UIs #### Accessing UIs
- Argo CD: https://localtest.me:8443/argocd - Argo CD: https://<no value>:8443/argocd
- Argo Workflows: https://localtest.me:8443/argo-workflows - Argo Workflows: https://<no value>:8443/argo-workflows
- Backstage: https://localtest.me:8443/ - Backstage: https://<no value>:8443/
- Gitea: https://localtest.me:8443/gitea - Gitea: https://<no value>:8443/gitea
- Keycloak: https://localtest.me:8443/keycloak/admin/master/console/ - Keycloak: https://<no value>:8443/keycloak/admin/master/console/
# Using it # 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 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: 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: 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. 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. 2. Select `cnoe` from the realms drop down menu.
3. Select users tab. 3. Select users tab.
@ -97,9 +97,9 @@ You can click on the ArgoCD Application name to see more details.
### What just happened? ### What just happened?
1. Backstage created [a git repository](https://localtest.me:8443/gitea/giteaAdmin/demo), then pushed templated contents to it. 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://localtest.me:8443/argocd/applications/argocd/demo?) and pointed it to the git repository. 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://localtest.me:8443/gitea/giteaAdmin/demo/src/branch/main/catalog-info.yaml) in Backstage. 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. 4. ArgoCD deployed the manifests stored in the repo to the cluster.
5. Backstage retrieved application health from ArgoCD API, then displayed it. 5. Backstage retrieved application health from ArgoCD API, then displayed it.

View file

@ -10,9 +10,9 @@ metadata:
spec: spec:
project: default project: default
source: source:
repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances repoURL: https://<no value>/<no value>
targetRevision: HEAD 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: destination:
server: "https://kubernetes.default.svc" server: "https://kubernetes.default.svc"
namespace: argo namespace: argo

View file

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

View file

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

View file

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

View file

@ -100,7 +100,7 @@ spec:
input: input:
description: This is an example app description: This is an example app
# Hard coded value for this demo purposes only. # 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 defaultBranch: main
- id: create-argocd-app - id: create-argocd-app
name: Create ArgoCD App name: Create ArgoCD App
@ -111,7 +111,7 @@ spec:
argoInstance: in-cluster argoInstance: in-cluster
projectName: default projectName: default
# necessary until we generate our own cert # 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" path: "kustomize/base"
- id: register - id: register
name: 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/label-selector: env=dev,entity-id=${{values.name}}
apache-spark.cnoe.io/cluster-name: local apache-spark.cnoe.io/cluster-name: local
links: links:
- url: https://gitea.localtest.me:443 - url: https://<no value>:443
title: Repo URL title: Repo URL
icon: github icon: github
spec: spec:

View file

@ -35,7 +35,7 @@ spec:
input: input:
description: This is an example app description: This is an example app
# Hard coded value for this demo purposes only. # 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 defaultBranch: main
- id: create-argocd-app - id: create-argocd-app
name: Create ArgoCD App name: Create ArgoCD App
@ -46,7 +46,7 @@ spec:
argoInstance: in-cluster argoInstance: in-cluster
projectName: default projectName: default
# necessary until we generate our own cert # 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" path: "manifests"
- id: register - id: register
name: Register name: Register

View file

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

View file

@ -31,7 +31,7 @@ spec:
input: input:
description: This is an example app description: This is an example app
# Hard coded value for this demo purposes only. # 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 defaultBranch: main
- id: create-argocd-app - id: create-argocd-app
name: Create ArgoCD App name: Create ArgoCD App
@ -42,7 +42,7 @@ spec:
argoInstance: in-cluster argoInstance: in-cluster
projectName: default projectName: default
# necessary until we generate our own cert # 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" path: "manifests"
- id: register - id: register
name: Register name: Register

View file

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

View file

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

View file

@ -33,7 +33,7 @@ jobs:
#run: ./mvnw spring-boot:build-image # the original image build #run: ./mvnw spring-boot:build-image # the original image build
run: | run: |
export CONTAINER_REPO=$(echo {% raw %}${{ env.GITHUB_REPOSITORY }}{% endraw %} | tr '[:upper:]' '[:lower:]') 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 - name: Build image as tar
run: | run: |
./mvnw com.google.cloud.tools:jib-maven-plugin:3.4.4:buildTar -Djib.allowInsecureRegistries=true ./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-label-selector: 'entity-id=${{ values.name }}'
backstage.io/kubernetes-namespace: gitea backstage.io/kubernetes-namespace: gitea
links: links:
- url: https://gitea.localtest.me:443 - url: https://<no value>:443
title: Repo URL title: Repo URL
icon: git icon: git
spec: spec:
@ -26,7 +26,7 @@ metadata:
annotations: annotations:
backstage.io/techdocs-ref: dir:. backstage.io/techdocs-ref: dir:.
links: links:
- url: https://gitea.localtest.me:443 - url: https://<no value>:443
title: Gitea Repo title: Gitea Repo
icon: git icon: git
spec: spec:

View file

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

View file

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

View file

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

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