[damned-lies/oscp] Minor fixes to the app naming



commit b8ee7f96b420650a4e56d1fa9b745bc76702a7fe
Author: Andrea Veri <averi redhat com>
Date:   Wed Sep 11 14:46:09 2019 +0200

    Minor fixes to the app naming

 templates/oscp.yaml | 52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)
---
diff --git a/templates/oscp.yaml b/templates/oscp.yaml
index 69acb539..40e01adc 100644
--- a/templates/oscp.yaml
+++ b/templates/oscp.yaml
@@ -58,7 +58,7 @@ objects:
 - kind: BuildConfig
   apiVersion: build.openshift.io/v1
   metadata:
-    name: damnedlies
+    name: damned-lies
   spec:
     runPolicy: "Serial"
     source:
@@ -87,7 +87,7 @@ objects:
     - annotations: null
       from:
         kind: DockerImage
-        name: ${IS_NAME}/${IS_VERSION}
+        name: ${IS_NAMESPACE}/${IS_NAME}
       generation: 2
       importPolicy: {}
       name: ${IS_VERSION}
@@ -97,9 +97,9 @@ objects:
 - kind: Secret
   apiVersion: v1
   metadata:
-    name: damnedlies
+    name: damned-lies
     labels:
-      app: damnedlies
+      app: damned-lies
     annotations:
       description: Damned Lies secrets
       template.openshift.io/expose-database-name: "{.data['database-name']}"
@@ -121,10 +121,10 @@ objects:
 - kind: DeploymentConfig
   apiVersion: v1
   metadata:
-    name: damnedlies
+    name: damned-lies
     generation: 1
     labels:
-      app: damnedlies
+      app: damned-lies
     annotations: {}
   spec:
     strategy:
@@ -143,7 +143,7 @@ objects:
       imageChangeParams:
         automatic: true
         containerNames:
-          - damnedlies
+          - damned-lies
         from:
           kind: ImageStreamTag
           namespace: "${IS_NAMESPACE}"
@@ -152,17 +152,17 @@ objects:
     revisionHistoryLimit: 10
     test: false
     selector:
-      app: damnedlies
-      deploymentconfig: damnedlies
+      app: damned-lies
+      deploymentconfig: damned-lies
     template:
       metadata:
         labels:
-          app: damnedlies
-          deploymentconfig: damnedlies
+          app: damned-lies
+          deploymentconfig: damned-lies
         annotations: {}
       spec:
         containers:
-        - name: damnedlies
+        - name: damned-lies
           ports:
           - containerPort: 8000
             protocol: TCP
@@ -170,37 +170,37 @@ objects:
           - name: DB_NAME
             valueFrom:
               secretKeyRef:
-                name: damnedlies
+                name: damned-lies
                 key: databasename
           - name: DB_USER
             valueFrom:
               secretKeyRef:
-                name: damnedlies
+                name: damned-lies
                 key: database-user
           - name: DB_HOST
             valueFrom:
               secretKeyRef:
-                name: damnedlies
+                name: damned-lies
                 key: database-host
           - name: DB_PASSWORD
             valueFrom:
               secretKeyRef:
-                name: damnedlies
+                name: damned-lies
                 key: database-password
           - name: SECRET_KEY
             valueFrom:
               secretKeyRef:
-                name: damnedlies
+                name: damned-lies
                 key: secret-key
           - name: SENTRY_DSN
             valueFrom:
               secretKeyRef:
-                name: damnedlies
+                name: damned-lies
                 key: sentry-dsn
           - name: GITLAB_TOKEN
             valueFrom:
               secretKeyRef:
-                name: damnedlies
+                name: damned-lies
                 key: gitlab-token
           resources: {}
           livenessProbe:
@@ -242,9 +242,9 @@ objects:
 - kind: Service
   apiVersion: v1
   metadata:
-    name: damnedlies
+    name: damned-lies
     labels:
-      app: damnedlies
+      app: damned-lies
   spec:
     ports:
     - name: web
@@ -252,8 +252,8 @@ objects:
       port: 8000
       targetPort: 8000
     selector:
-      app: damnedlies
-      deploymentconfig: damnedlies
+      app: damned-lies
+      deploymentconfig: damned-lies
     type: ClusterIP
     sessionAffinity: None
   status:
@@ -262,15 +262,15 @@ objects:
 - kind: Route
   apiVersion: v1
   metadata:
-    name: damnedlies
+    name: damned-lies
     creationTimestamp:
     labels:
-      app: damnedlies
+      app: damned-lies
   spec:
     host: l10n.gnome.org
     to:
       kind: Service
-      name: damnedlies
+      name: damned-lies
       weight: 100
     port:
       targetPort: web


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]