Browse Source

fix helm chart

gitops
Nicolas Massé 3 years ago
parent
commit
082b8ee804
  1. 2
      infrastructure.yaml
  2. 6
      infrastructure/templates/microcks.yaml
  3. 4
      infrastructure/templates/project.yaml
  4. 6
      infrastructure/templates/sso.yaml

2
infrastructure.yaml

@ -13,7 +13,7 @@ spec:
targetRevision: gitops targetRevision: gitops
helm: helm:
valueFiles: valueFiles:
- infrastructure-values.yaml - ../infrastructure-values.yaml
project: default project: default
syncPolicy: syncPolicy:
automated: automated:

6
infrastructure/templates/microcks.yaml

@ -4,10 +4,10 @@ metadata:
annotations: annotations:
argocd.argoproj.io/sync-wave: "10" argocd.argoproj.io/sync-wave: "10"
name: microcks name: microcks
namespace: {{ projectName | quote }} namespace: {{ .Values.projectName | quote }}
spec: spec:
targetNamespaces: targetNamespaces:
- {{ projectName | quote }} - {{ .Values.projectName | quote }}
--- ---
apiVersion: operators.coreos.com/v1alpha1 apiVersion: operators.coreos.com/v1alpha1
kind: Subscription kind: Subscription
@ -15,7 +15,7 @@ metadata:
annotations: annotations:
argocd.argoproj.io/sync-wave: "10" argocd.argoproj.io/sync-wave: "10"
name: microcks name: microcks
namespace: {{ projectName | quote }} namespace: {{ .Values.projectName | quote }}
spec: spec:
channel: stable channel: stable
name: microcks name: microcks

4
infrastructure/templates/project.yaml

@ -5,8 +5,8 @@ metadata:
argocd.argoproj.io/sync-wave: "0" argocd.argoproj.io/sync-wave: "0"
openshift.io/display-name: "Demo API Management" openshift.io/display-name: "Demo API Management"
labels: labels:
kubernetes.io/metadata.name: {{ projectName | quote }} kubernetes.io/metadata.name: {{ .Values.projectName | quote }}
name: {{ projectName | quote }} name: {{ .Values.projectName | quote }}
spec: spec:
finalizers: finalizers:
- kubernetes - kubernetes

6
infrastructure/templates/sso.yaml

@ -4,10 +4,10 @@ metadata:
annotations: annotations:
argocd.argoproj.io/sync-wave: "10" argocd.argoproj.io/sync-wave: "10"
name: sso name: sso
namespace: {{ projectName | quote }} namespace: {{ .Values.projectName | quote }}
spec: spec:
targetNamespaces: targetNamespaces:
- {{ projectName | quote }} - {{ .Values.projectName | quote }}
--- ---
apiVersion: operators.coreos.com/v1alpha1 apiVersion: operators.coreos.com/v1alpha1
kind: Subscription kind: Subscription
@ -15,7 +15,7 @@ metadata:
annotations: annotations:
argocd.argoproj.io/sync-wave: "10" argocd.argoproj.io/sync-wave: "10"
name: rhsso-operator name: rhsso-operator
namespace: {{ projectName | quote }} namespace: {{ .Values.projectName | quote }}
spec: spec:
channel: stable channel: stable
name: rhsso-operator name: rhsso-operator

Loading…
Cancel
Save