---
# Source: apache-genes/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: kk-apache-genes
  labels:
    helm.sh/chart: apache-genes-0.1.6
    app.kubernetes.io/name: apache-genes
    app.kubernetes.io/instance: kk
    app.kubernetes.io/version: "2.4"
    app.kubernetes.io/managed-by: Helm
---
# Source: apache-genes/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
  name: kk-apache-genes
  labels:
    helm.sh/chart: apache-genes-0.1.6
    app.kubernetes.io/name: apache-genes
    app.kubernetes.io/instance: kk
    app.kubernetes.io/version: "2.4"
    app.kubernetes.io/managed-by: Helm
spec:
  type: ClusterIP
  ports:
    - port: 80
      targetPort: http
      protocol: TCP
      name: http
  selector:
    app.kubernetes.io/name: apache-genes
    app.kubernetes.io/instance: kk
---
# Source: apache-genes/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: kk-apache-genes
  labels:
    helm.sh/chart: apache-genes-0.1.6
    app.kubernetes.io/name: apache-genes
    app.kubernetes.io/instance: kk
    app.kubernetes.io/version: "2.4"
    app.kubernetes.io/managed-by: Helm
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: apache-genes
      app.kubernetes.io/instance: kk
  template:
    metadata:
      labels:
        app.kubernetes.io/name: apache-genes
        app.kubernetes.io/instance: kk
    spec:
      serviceAccountName: kk-apache-genes
      securityContext:
        {}
      containers:
        - name: apache-genes
          securityContext:
            {}
          image: "httpd:2.4"
          imagePullPolicy: IfNotPresent
          ports:
            - name: http
              containerPort: 80
              protocol: TCP
          livenessProbe:
            httpGet:
              path: /
              port: http
          readinessProbe:
            httpGet:
              path: /
              port: http
          resources:
            {}
---
# Source: apache-genes/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: kk-apache-genes
  labels:
    helm.sh/chart: apache-genes-0.1.6
    app.kubernetes.io/name: apache-genes
    app.kubernetes.io/instance: kk
    app.kubernetes.io/version: "2.4"
    app.kubernetes.io/managed-by: Helm
spec:
  rules:
    - host: "apache-genes.lab.groupe-genes.fr"
      http:
        paths:
          - path: /
            pathType: ImplementationSpecific
            backend:
              service:
                name: kk-apache-genes
                port:
                  number: 80
---
# Source: apache-genes/templates/tests/test-connection.yaml
apiVersion: v1
kind: Pod
metadata:
  name: "kk-apache-genes-test-connection"
  labels:
    helm.sh/chart: apache-genes-0.1.6
    app.kubernetes.io/name: apache-genes
    app.kubernetes.io/instance: kk
    app.kubernetes.io/version: "2.4"
    app.kubernetes.io/managed-by: Helm
  annotations:
    "helm.sh/hook": test
spec:
  containers:
    - name: wget
      image: busybox
      command: ['wget']
      args: ['kk-apache-genes:80']
  restartPolicy: Never
