Commit 4884462d authored by Alejandro Sanchez's avatar Alejandro Sanchez
Browse files

feat(oai-core): implementada OKA parametrizada según Release 19

parent 1dde207c
Loading
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -15,9 +15,6 @@ spec:
    - target:
        kind: HelmRelease
      patch: |-
        - op: replace
          path: /metadata/name
          value: ${APPNAME}
        - op: replace
          path: /metadata/namespace
          value: ${TARGET_NS}
+0 −16
Original line number Diff line number Diff line
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: ueransim
  namespace: PLACEHOLDER
spec:
  chart:
    spec:
      chart: free5gc-ueransim
      version: "2.0.17"
      sourceRef:
        kind: HelmRepository
        name: ueran-repo
        namespace: PLACEHOLDER
  interval: 10m0s
  targetNamespace: PLACEHOLDER
+0 −8
Original line number Diff line number Diff line
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
  name: ueran-repo
  namespace: PLACEHOLDER
spec:
  interval: 10m0s
  url: https://alesan121.github.io/free5gc-helm-repo/
+0 −35
Original line number Diff line number Diff line
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
  name: ${APPNAME}
  namespace: flux-system
spec:
  interval: 1h0m0s
  path: ./oka/apps/ueransim/manifests
  prune: true
  sourceRef:
    kind: GitRepository
    name: sw-catalogs
    namespace: flux-system
  patches:
    - target:
        kind: HelmRelease
      patch: |-
        - op: replace
          path: /metadata/name
          value: ${APPNAME}
        - op: replace
          path: /metadata/namespace
          value: ${TARGET_NS}
        - op: replace
          path: /spec/chart/spec/sourceRef/namespace
          value: ${TARGET_NS}
        - op: replace
          path: /spec/targetNamespace
          value: ${TARGET_NS}
    - target:
        kind: HelmRepository
      patch: |-
        - op: replace
          path: /metadata/namespace
          value: ${TARGET_NS}