Skip to content

Commit 268ec19

Browse files
jordaneclaudeasithade
authored
refactor(repo): rename lfx-v2-ui to lfx-self-serve throughout (#693)
Update all in-repo references following the GitHub repository rename from linuxfoundation/lfx-v2-ui to linuxfoundation/lfx-self-serve: - Rename charts/lfx-v2-ui/ to charts/lfx-self-serve/ and update chart name, template helper prefixes, GitHub URLs, and GHCR image path - Update OTEL service name default in otel.mjs and server-tracer.ts - Update GHCR image refs and OTEL defaults in docs - Update .github/ISSUE_TEMPLATE URLs and descriptions - Update directory tree labels in CLAUDE.md, docs/architecture.md, and .claude/skills/setup/SKILL.md - Update JSDoc comment in my-document.interface.ts lfx-one app/package names are unchanged — separate from repo identity. GitHub Actions workflows were already clean (use ${{ github.repository }}). Issue: LFXV2-1763 Signed-off-by: Jordan Evans <jevans@linuxfoundation.org> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: Asitha de Silva <asithade@gmail.com>
1 parent 4de59ce commit 268ec19

24 files changed

Lines changed: 77 additions & 77 deletions

File tree

.claude/skills/setup/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ If not already cloned:
2828

2929
```bash
3030
git clone <repository-url>
31-
cd lfx-v2-ui
31+
cd lfx-self-serve
3232
```
3333

3434
If already in the repo, confirm the working directory:

.github/ISSUE_TEMPLATE/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
blank_issues_enabled: true
55
contact_links:
66
- name: Report a security vulnerability
7-
url: https://github.com/linuxfoundation/lfx-v2-ui/blob/main/SECURITY.md
7+
url: https://github.com/linuxfoundation/lfx-self-serve/blob/main/SECURITY.md
88
about: Please review our security policy for more details

.github/ISSUE_TEMPLATE/feature_request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: MIT
33

44
name: Feature request
5-
description: Suggest a new feature for lfx-v2-ui
5+
description: Suggest a new feature for lfx-self-serve
66
labels: ["type:enhancement"]
77
body:
88
- type: textarea

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ All commands run from the repo root via Turborepo:
3535
## Monorepo Structure
3636

3737
```text
38-
lfx-v2-ui/
38+
lfx-self-serve/
3939
├── apps/
4040
│ └── lfx-one/ # Angular 20 SSR application with stable zoneless change detection
4141
│ ├── src/app/

apps/lfx-one/otel.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if (!otlpEndpoint) {
4343
diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.INFO);
4444
}
4545

46-
const serviceName = process.env['OTEL_SERVICE_NAME'] || 'lfx-v2-ui';
46+
const serviceName = process.env['OTEL_SERVICE_NAME'] || 'lfx-self-serve';
4747
const serviceVersion = process.env['APP_VERSION'] || 'development';
4848

4949
const resource = resourceFromAttributes({

apps/lfx-one/src/server/server-tracer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
import { trace } from '@opentelemetry/api';
55

6-
export const SERVICE_NAME = process.env['OTEL_SERVICE_NAME'] || 'lfx-v2-ui';
6+
export const SERVICE_NAME = process.env['OTEL_SERVICE_NAME'] || 'lfx-self-serve';
77

88
export const tracer = trace.getTracer(SERVICE_NAME);
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# SPDX-License-Identifier: MIT
33
---
44
apiVersion: v2
5-
name: lfx-v2-ui
6-
description: A Helm chart for LFX v2 UI - Angular SSR application with Express backend
5+
name: lfx-self-serve
6+
description: A Helm chart for LFX Self Serve - Angular SSR application with Express backend
77
type: application
88
# This version should not be incremented, as it is dynamically replaced with the release version during the chart build
99
# job.
@@ -13,6 +13,6 @@ keywords:
1313
- lfx
1414
- project-control-center
1515
- ui
16-
home: https://github.com/linuxfoundation/lfx-v2-ui
16+
home: https://github.com/linuxfoundation/lfx-self-serve
1717
sources:
18-
- https://github.com/linuxfoundation/lfx-v2-ui
18+
- https://github.com/linuxfoundation/lfx-self-serve
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ environment:
9999

100100
### Application Parameters
101101

102-
| Parameter | Description | Default |
103-
| ------------------- | ------------------ | ----------------------------------- |
104-
| `replicaCount` | Number of replicas | `1` |
105-
| `image.registry` | Image registry | `""` |
106-
| `image.repository` | Image repository | `ghcr.io/linuxfoundation/lfx-v2-ui` |
107-
| `image.tag` | Image tag | `"latest"` |
108-
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
109-
| `image.pullSecrets` | Image pull secrets | `[]` |
102+
| Parameter | Description | Default |
103+
| ------------------- | ------------------ | ---------------------------------------- |
104+
| `replicaCount` | Number of replicas | `1` |
105+
| `image.registry` | Image registry | `""` |
106+
| `image.repository` | Image repository | `ghcr.io/linuxfoundation/lfx-self-serve` |
107+
| `image.tag` | Image tag | `"latest"` |
108+
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
109+
| `image.pullSecrets` | Image pull secrets | `[]` |
110110

111111
### Environment Variables
112112

@@ -323,13 +323,13 @@ externalSecrets:
323323
auth:
324324
jwt:
325325
serviceAccountRef:
326-
name: lfx-v2-ui-sa # ServiceAccount with IRSA annotation
326+
name: lfx-self-serve-sa # ServiceAccount with IRSA annotation
327327
target:
328-
name: lfx-v2-ui
328+
name: lfx-self-serve
329329
dataFrom:
330330
- find:
331331
tags:
332-
service: lfx-v2-ui
332+
service: lfx-self-serve
333333
rewrite:
334334
- merge: {}
335335
```
@@ -349,6 +349,6 @@ environment:
349349
PCC_AUTH0_CLIENT_SECRET:
350350
valueFrom:
351351
secretKeyRef:
352-
name: lfx-v2-ui # Or your custom target name
352+
name: lfx-self-serve # Or your custom target name
353353
key: PCC_AUTH0_CLIENT_SECRET
354354
```

charts/lfx-v2-ui/templates/_helpers.tpl renamed to charts/lfx-self-serve/templates/_helpers.tpl

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{{/*
55
Expand the name of the chart.
66
*/}}
7-
{{- define "lfx-v2-ui.name" -}}
7+
{{- define "lfx-self-serve.name" -}}
88
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
99
{{- end }}
1010

@@ -13,7 +13,7 @@ Create a default fully qualified app name.
1313
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
1414
If release name contains chart name it will be used as a full name.
1515
*/}}
16-
{{- define "lfx-v2-ui.fullname" -}}
16+
{{- define "lfx-self-serve.fullname" -}}
1717
{{- if .Values.fullnameOverride }}
1818
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
1919
{{- else }}
@@ -29,16 +29,16 @@ If release name contains chart name it will be used as a full name.
2929
{{/*
3030
Create chart name and version as used by the chart label.
3131
*/}}
32-
{{- define "lfx-v2-ui.chart" -}}
32+
{{- define "lfx-self-serve.chart" -}}
3333
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
3434
{{- end }}
3535

3636
{{/*
3737
Common labels
3838
*/}}
39-
{{- define "lfx-v2-ui.labels" -}}
40-
helm.sh/chart: {{ include "lfx-v2-ui.chart" . }}
41-
{{ include "lfx-v2-ui.selectorLabels" . }}
39+
{{- define "lfx-self-serve.labels" -}}
40+
helm.sh/chart: {{ include "lfx-self-serve.chart" . }}
41+
{{ include "lfx-self-serve.selectorLabels" . }}
4242
{{- if .Chart.AppVersion }}
4343
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
4444
{{- end }}
@@ -51,17 +51,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
5151
{{/*
5252
Selector labels
5353
*/}}
54-
{{- define "lfx-v2-ui.selectorLabels" -}}
55-
app.kubernetes.io/name: {{ include "lfx-v2-ui.name" . }}
54+
{{- define "lfx-self-serve.selectorLabels" -}}
55+
app.kubernetes.io/name: {{ include "lfx-self-serve.name" . }}
5656
app.kubernetes.io/instance: {{ .Release.Name }}
5757
{{- end }}
5858

5959
{{/*
6060
Create the name of the service account to use
6161
*/}}
62-
{{- define "lfx-v2-ui.serviceAccountName" -}}
62+
{{- define "lfx-self-serve.serviceAccountName" -}}
6363
{{- if .Values.serviceAccount.create }}
64-
{{- default (include "lfx-v2-ui.fullname" .) .Values.serviceAccount.name }}
64+
{{- default (include "lfx-self-serve.fullname" .) .Values.serviceAccount.name }}
6565
{{- else }}
6666
{{- default "default" .Values.serviceAccount.name }}
6767
{{- end }}
@@ -70,15 +70,15 @@ Create the name of the service account to use
7070
{{/*
7171
Create the image name with tag
7272
*/}}
73-
{{- define "lfx-v2-ui.image" -}}
73+
{{- define "lfx-self-serve.image" -}}
7474
{{- $tag := .Values.image.tag | default .Chart.AppVersion }}
7575
{{- printf "%s:%s" .Values.image.repository $tag }}
7676
{{- end }}
7777

7878
{{/*
7979
Common annotations
8080
*/}}
81-
{{- define "lfx-v2-ui.annotations" -}}
81+
{{- define "lfx-self-serve.annotations" -}}
8282
{{- with .Values.annotations }}
8383
{{ toYaml . }}
8484
{{- end }}
@@ -87,7 +87,7 @@ Common annotations
8787
{{/*
8888
Pod annotations
8989
*/}}
90-
{{- define "lfx-v2-ui.podAnnotations" -}}
90+
{{- define "lfx-self-serve.podAnnotations" -}}
9191
{{- with .Values.podAnnotations }}
9292
{{ toYaml . }}
9393
{{- end }}
@@ -99,23 +99,23 @@ Pod annotations
9999
{{/*
100100
Create the name of the external secrets secretstore to use
101101
*/}}
102-
{{- define "lfx-v2-ui.secretStoreName" -}}
103-
{{- default (include "lfx-v2-ui.fullname" .) .Values.externalSecrets.secretStore.name }}
102+
{{- define "lfx-self-serve.secretStoreName" -}}
103+
{{- default (include "lfx-self-serve.fullname" .) .Values.externalSecrets.secretStore.name }}
104104
{{- end }}
105105

106106
{{/*
107107
Create the name of the external secret to use
108108
*/}}
109-
{{- define "lfx-v2-ui.externalSecretName" -}}
110-
{{- default (include "lfx-v2-ui.fullname" .) .Values.externalSecrets.name }}
109+
{{- define "lfx-self-serve.externalSecretName" -}}
110+
{{- default (include "lfx-self-serve.fullname" .) .Values.externalSecrets.name }}
111111
{{- end }}
112112

113113
{{/*
114114
SecretStore annotations
115115
Merges global annotations with externalSecrets.secretStore.annotations
116116
SecretStore-specific annotations override global ones on key conflicts
117117
*/}}
118-
{{- define "lfx-v2-ui.secretStoreAnnotations" -}}
118+
{{- define "lfx-self-serve.secretStoreAnnotations" -}}
119119
{{- $notations := dict -}}
120120
{{- if .Values.annotations }}
121121
{{- $notations = merge $notations .Values.annotations }}
@@ -136,7 +136,7 @@ ExternalSecret annotations
136136
Merges global annotations with externalSecrets.annotations
137137
ExternalSecret-specific annotations override global ones on key conflicts
138138
*/}}
139-
{{- define "lfx-v2-ui.externalSecretAnnotations" -}}
139+
{{- define "lfx-self-serve.externalSecretAnnotations" -}}
140140
{{- $notations := dict -}}
141141
{{- if .Values.annotations }}
142142
{{- $notations = merge $notations .Values.annotations }}

charts/lfx-v2-ui/templates/deployment.yaml renamed to charts/lfx-self-serve/templates/deployment.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@
44
apiVersion: apps/v1
55
kind: Deployment
66
metadata:
7-
name: {{ include "lfx-v2-ui.fullname" . }}
7+
name: {{ include "lfx-self-serve.fullname" . }}
88
labels:
9-
{{- include "lfx-v2-ui.labels" . | nindent 4 }}
10-
{{- with (include "lfx-v2-ui.annotations" .) }}
9+
{{- include "lfx-self-serve.labels" . | nindent 4 }}
10+
{{- with (include "lfx-self-serve.annotations" .) }}
1111
annotations:
1212
{{- . | nindent 4 }}
1313
{{- end }}
1414
spec:
1515
replicas: {{ .Values.replicaCount }}
1616
selector:
1717
matchLabels:
18-
{{- include "lfx-v2-ui.selectorLabels" . | nindent 6 }}
18+
{{- include "lfx-self-serve.selectorLabels" . | nindent 6 }}
1919
template:
2020
metadata:
2121
annotations:
22-
{{- include "lfx-v2-ui.podAnnotations" . | nindent 8 }}
22+
{{- include "lfx-self-serve.podAnnotations" . | nindent 8 }}
2323
labels:
24-
{{- include "lfx-v2-ui.labels" . | nindent 8 }}
24+
{{- include "lfx-self-serve.labels" . | nindent 8 }}
2525
{{- with .Values.podLabels }}
2626
{{- toYaml . | nindent 8 }}
2727
{{- end }}
@@ -30,10 +30,10 @@ spec:
3030
imagePullSecrets:
3131
{{- toYaml . | nindent 8 }}
3232
{{- end }}
33-
serviceAccountName: {{ .Values.serviceAccount.name | default (include "lfx-v2-ui.serviceAccountName" .) }}
33+
serviceAccountName: {{ .Values.serviceAccount.name | default (include "lfx-self-serve.serviceAccountName" .) }}
3434
containers:
3535
- name: {{ .Chart.Name }}
36-
image: {{ include "lfx-v2-ui.image" . }}
36+
image: {{ include "lfx-self-serve.image" . }}
3737
imagePullPolicy: {{ .Values.image.pullPolicy }}
3838
ports:
3939
- name: http

0 commit comments

Comments
 (0)