{% extends "base.html" %} {% block title %}{{ resource.name }} ({{resource.kind}}{% if namespace and resource.kind != 'Namespace': %} in {{namespace}}{% endif %}){% endblock %} {% block content %}

{{ resource.name }} {% for link in links: %} {% endfor %} created {{ resource.metadata.creationTimestamp.replace('T', ' ').replace('Z', '') }}, version {{ resource.metadata.resourceVersion }}

{% if view == 'yaml': %} {% include "partials/yaml.html" %} {% else: %}
{% for key, val in resource.labels.items()|sort: %} {% if namespace: %} {{ key }}: {{ val }} {% else: %} {{ key }}: {{ val }} {% endif %} {% endfor %}
{% for key, val in resource.annotations.items()|sort: %} {{ key }}: {{ val|truncate(40) }} {% endfor %}
{% if owners: %}
Owner{{ 's' if owners|length > 1 }}: {% for owner in owners: %} {{ owner.name }} ({{ owner.class.kind }}) {% endfor %}
{% endif %} {% for key, val in resource.obj.items()|sort: %} {% if key not in ('metadata', 'apiVersion', 'kind'): %}

{{ key|capitalize }}

{{ val|yaml|highlight|safe }}
{% endif %} {% endfor %} {% if resource.kind == "Namespace": %}
Show all objects in this namespace
Show Resource Types in this namespace
{% endif %} {% if table: %}

Pods

{% if not namespace: %} {% endif %} {% for column in table.columns: %} {% endfor %} {% for row in table.rows: %} {% if not namespace: %} {% endif %} {% for cell in row.cells: %} {% if loop.first: %} {% if row.object.metadata.namespace: %} {% else: %} {% endif %} {% else: %} {% endif %} {% endfor %} {% else: %} {% endfor %}
Namespace{{ column.name }}Created
{{ row.object.metadata.namespace }}{{ cell }}{{ cell }} {% if table.columns[loop.index0].name == 'Node': %} {{ cell if cell is not none}} {% else: %} {{ cell if cell is not none}} {% endif %} {{ row.object.metadata.creationTimestamp.replace('T', ' ').replace('Z', '') }}
No {{ table.api_obj_class.kind }} objects {% if namespace and not is_all_namespaces:%} in namespace "{{ namespace }}"{% endif %} found.
{% endif %}
{% include "partials/events.html" %}
{% endif %} {% endblock %}